Skip to content

Commit

Permalink
feat(cli): print deprecated warnings in verbose mode. (grafana#39)
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
  • Loading branch information
tomwilkie authored and sh0rez committed Aug 12, 2019
1 parent 39b00be commit 6de170d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/tk/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ func setupConfiguration(baseDir string) *v1alpha1.Config {
}
}

// disabled for now
// checkDeprecated()
if verbose {
checkDeprecated()
}

var config v1alpha1.Config
if err := viper.Unmarshal(&config); err != nil {
Expand Down

0 comments on commit 6de170d

Please sign in to comment.