Skip to content

CLOUDP-61291: Allow multiple measurements for measurements API #121

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 2 commits into from
Apr 23, 2020

Conversation

gssbzn
Copy link
Collaborator

@gssbzn gssbzn commented Apr 23, 2020

Proposed changes

Jira ticket: CLOUDP-61291

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

@gssbzn gssbzn requested a review from andreaangiolillo April 23, 2020 11:50
Comment on lines +103 to +106
cmd.Flags().StringVarP(&opts.out, flags.Out, flags.OutShort, "", usage.LogOut)

cmd.Flags().StringVar(&opts.start, flags.Start, "", usage.Start)
cmd.Flags().StringVar(&opts.end, flags.End, "", usage.End)
cmd.Flags().StringVar(&opts.start, flags.Start, "", usage.LogStart)
cmd.Flags().StringVar(&opts.end, flags.End, "", usage.LogEnd)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

these had measurement specific language so fixing this

@@ -26,7 +26,7 @@ type measurementsOpts struct {
period string
start string
end string
measurementType string
measurementType []string
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

main change

Copy link
Collaborator

@colm-quinn colm-quinn 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 449ad9a into master Apr 23, 2020
@gssbzn gssbzn deleted the CLOUDP-61291 branch April 23, 2020 14:28
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