Skip to content

Fix analyze update check#3722

Merged
balopat merged 5 commits intoGoogleContainerTools:masterfrom
balopat:fix_analyze_update_check
Feb 24, 2020
Merged

Fix analyze update check#3722
balopat merged 5 commits intoGoogleContainerTools:masterfrom
balopat:fix_analyze_update_check

Conversation

@balopat
Copy link
Copy Markdown
Contributor

@balopat balopat commented Feb 22, 2020

Fixes #3686.

Unfortunately this piece is hard to test currently.

@codecov
Copy link
Copy Markdown

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%) ⬇️

@dgageot dgageot self-assigned this Feb 23, 2020
@dgageot dgageot self-requested a review February 23, 2020 20:09

if quietFlag {
logrus.Debugf("Update check is disabled because of quiet mode")
} else if analyze {
Copy link
Copy Markdown
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