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(provider/kubernetes): dynamic enable/disable #2476

Merged
merged 1 commit into from Oct 19, 2018

Conversation

lwander
Copy link
Member

@lwander lwander commented Oct 19, 2018

@lwander lwander requested review from jtk54, danielpeach and a user October 19, 2018 17:18
Copy link
Contributor

@jtk54 jtk54 left a comment

Choose a reason for hiding this comment

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

LGTM, one (probably ignorant) question.

StageData stageData = fromStage(stage);

if (StringUtils.isEmpty(stageData.criteria)) {
return new TaskResult(ExecutionStatus.SUCCEEDED);
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the behavior of enable/disable with no targets?

Copy link
Member Author

Choose a reason for hiding this comment

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

Noop -- this check here actually exists to allow you to either supply nothing, or explicitly reference a name.

@lwander lwander merged commit f7e4075 into spinnaker:master Oct 19, 2018
@lwander lwander deleted the enable-disable branch October 19, 2018 17:32
clanesf pushed a commit to clanesf/orca that referenced this pull request Dec 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants