Merge pull request #928 from hangyan/fix-log-format

Fix log format error
This commit is contained in:
Charlie Drage 2018-02-07 08:21:58 -05:00 committed by GitHub
commit 76136b9411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {