Skip to content

The user is now able to disable RPC in dev mode #2427

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
Jul 10, 2019

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Jul 8, 2019

Signed-off-by: David Gageot [email protected]

@codecov
Copy link

codecov bot commented Jul 8, 2019

Codecov Report

Merging #2427 into master will not change coverage.
The diff coverage is 0%.

Impacted Files Coverage Δ
cmd/skaffold/app/cmd/cmd.go 69.36% <0%> (ø) ⬆️

@dgageot dgageot force-pushed the disable-rpc branch 4 times, most recently from f1aa4f9 to 9dea388 Compare July 9, 2019 15:32
dgageot added 2 commits July 10, 2019 07:46
None of those tests is GCP only

Signed-off-by: David Gageot <[email protected]>
@dgageot
Copy link
Contributor Author

dgageot commented Jul 10, 2019

ping @nkubala

Copy link
Contributor

@nkubala nkubala left a comment

Choose a reason for hiding this comment

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

nice

// TODO(dgageot): api server is always started in dev mode, right now.
// It should instead default to true.
// In dev mode, the default is to enable the rpc server
if cmd.Use == "dev" && !cmd.Flag("enable-rpc").Changed {
Copy link
Contributor

Choose a reason for hiding this comment

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

til flag.Changed :)

@dgageot dgageot merged commit 26fc7dd into GoogleContainerTools:master Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants