Skip to content

Commit

Permalink
Merge pull request #964 from r2d4/update-check-bug
Browse files Browse the repository at this point in the history
update check respected quiet flag
  • Loading branch information
dgageot authored Sep 11, 2018
2 parents 956ed5f + 901269c commit cfe5a70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/skaffold/app/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ func NewSkaffoldCommand(out, err io.Writer) *cobra.Command {
}

func updateCheck(ch chan string) error {
if quietFlag {
logrus.Debugf("Update check is disabled because of quiet mode")
return nil
}
if !update.IsUpdateCheckEnabled() {
logrus.Debugf("Update check not enabled, skipping.")
return nil
Expand Down

0 comments on commit cfe5a70

Please sign in to comment.