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

Fix analyze update check #3722

Merged
merged 5 commits into from
Feb 24, 2020

Conversation

balopat
Copy link
Contributor

@balopat balopat commented Feb 22, 2020

Fixes #3686.

Unfortunately this piece is hard to test currently.

@codecov
Copy link

codecov bot commented Feb 22, 2020

Codecov Report

Merging #3722 into master will increase coverage by 0.01%.
The diff coverage is 77.77%.

Impacted Files Coverage Δ
pkg/skaffold/initializer/analyze/kubernetes.go 100% <ø> (ø) ⬆️
pkg/skaffold/sync/sync.go 72.25% <100%> (+0.32%) ⬆️
pkg/skaffold/kubernetes/util.go 89.65% <100%> (ø) ⬆️
cmd/skaffold/app/cmd/init.go 100% <100%> (ø) ⬆️
cmd/skaffold/app/cmd/cmd.go 67.42% <50%> (+1.01%) ⬆️
pkg/skaffold/initializer/analyze/analyze.go 89.09% <71.42%> (-2.58%) ⬇️

pkg/skaffold/kubernetes/util.go Outdated Show resolved Hide resolved
@dgageot dgageot self-assigned this Feb 23, 2020
@dgageot dgageot self-requested a review February 23, 2020 20:09
@@ -100,6 +100,8 @@ func NewSkaffoldCommand(out, err io.Writer) *cobra.Command {

if quietFlag {
logrus.Debugf("Update check is disabled because of quiet mode")
} else if analyze {
Copy link
Contributor

Choose a reason for hiding this comment

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

The linter wants a switch here

@balopat balopat merged commit c96b1f8 into GoogleContainerTools:master Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Skaffold init --analyze output not ideal for parsing by clients
3 participants