Skip to content
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

feat(cli): Configure metric stores via CLI #257

Merged
merged 1 commit into from
Mar 20, 2017
Merged

feat(cli): Configure metric stores via CLI #257

merged 1 commit into from
Mar 20, 2017

Conversation

lwander
Copy link
Member

@lwander lwander commented Mar 19, 2017

PTAL

Copy link

@duftler duftler left a comment

Choose a reason for hiding this comment

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

LGTM after addressing comments.


new OperationHandler<MetricStores>()
.setOperation(Daemon.getMetricStores(currentDeployment, !noValidate))
.setFailureMesssage("Failed to metric stores.")
Copy link

Choose a reason for hiding this comment

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

s/to metric/to configure metric


new OperationHandler<Void>()
.setOperation(Daemon.setMetricStores(currentDeployment, !noValidate, metricStores))
.setFailureMesssage("Failed to edit metric stores.")
Copy link

Choose a reason for hiding this comment

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

You're calling .setFailureMessage() twice here.

}

new OperationHandler<Void>()
.setOperation(Daemon.setMetricStores(currentDeployment, !noValidate, metricStores))
Copy link

Choose a reason for hiding this comment

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

The order in which these methods are chained changed from the last class to this one.

@lwander lwander merged commit 4ffa5de into spinnaker:master Mar 20, 2017
@lwander lwander deleted the cli-metric-store branch March 20, 2017 14:20
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