Skip to content

CLOUDP-61290: Validate base url #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 24, 2020
Merged

CLOUDP-61290: Validate base url #124

merged 6 commits into from
Apr 24, 2020

Conversation

gssbzn
Copy link
Collaborator

@gssbzn gssbzn commented Apr 24, 2020

Proposed changes

Jira ticket: CLOUDP-61290

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

Further comments

This is a breaking change, users will need to update their base url to include a trailing slash

@gssbzn gssbzn requested a review from andreaangiolillo April 24, 2020 15:28
@@ -37,14 +37,6 @@ type globalOpts struct {
projectID string
}

func validateObjectID(s string) error {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to its own package

@andreaangiolillo
Copy link
Collaborator

something seems broken in the e2e test. Do you think it is related to this changeset?

@gssbzn
Copy link
Collaborator Author

gssbzn commented Apr 24, 2020

@andreaangiolillo yes I need to change a setting in drone but since you have a PR I'm waiting for that as the change would break you instead

@gssbzn
Copy link
Collaborator Author

gssbzn commented Apr 24, 2020

@andreaangiolillo fix

Copy link
Collaborator

@andreaangiolillo andreaangiolillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gssbzn gssbzn merged commit dc7a447 into master Apr 24, 2020
@gssbzn gssbzn deleted the CLOUDP-61290 branch April 24, 2020 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants