Fix log format error

This commit is contained in:
Hang Yan 2018-02-07 13:42:06 +08:00
parent 2e40dd813b
commit be96662d11

View File

@ -63,7 +63,7 @@ func ValidateFlags(bundle string, args []string, cmd *cobra.Command, opt *kobjec
// Get the provider
provider := cmd.Flags().Lookup("provider").Value.String()
log.Debug("Checking validation of provider %s", provider)
log.Debugf("Checking validation of provider: %s", provider)
// OpenShift specific flags
deploymentConfig := cmd.Flags().Lookup("deployment-config").Changed
@ -78,7 +78,7 @@ func ValidateFlags(bundle string, args []string, cmd *cobra.Command, opt *kobjec
// Get the controller
controller := opt.Controller
log.Debug("Checking validation of controller %s", controller)
log.Debugf("Checking validation of controller: %s", controller)
// Check validations against provider flags
switch {