Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

enable env set to change server#612

Merged
underrun merged 1 commit intoksonnet:masterfrom
underrun:more_env_set_opts
Jun 14, 2018
Merged

enable env set to change server#612
underrun merged 1 commit intoksonnet:masterfrom
underrun:more_env_set_opts

Conversation

@underrun
Copy link
Collaborator

@underrun underrun commented Jun 14, 2018

adds --server flag to ks env set options

also also fixes a couple bugs and adds version to INFO log on init

@underrun underrun requested review from bryanl and shomron June 14, 2018 00:05
actions.OptionEnvName: args[0],
actions.OptionNewEnvName: viper.GetString(vEnvSetName),
actions.OptionNamespace: viper.GetString(vEnvSetNamespace),
actions.OptionServer: viper.GetString(vEnvSetServer),
Copy link
Member

Choose a reason for hiding this comment

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

If you add a new option, you'll have to adjust the test to expect the new option.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

add tests for both clicmd and actions

@coveralls
Copy link

coveralls commented Jun 14, 2018

Pull Request Test Coverage Report for Build 991

  • 19 of 22 (86.36%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.06%) to 69.336%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/app/app.go 0 1 0.0%
pkg/actions/env_set.go 11 13 84.62%
Totals Coverage Status
Change from base Build 987: 0.06%
Covered Lines: 9888
Relevant Lines: 14261

💛 - Coveralls

adds --server flag to `ks env set` options

also also fixes a couple bugs and adds version to INFO log on init

Signed-off-by: Derek Wilson <derek@heptio.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants