Merge pull request #753 from wansir/fix-npe

fix: null pointer exception
This commit is contained in:
KubeSphere CI Bot
2019-09-16 18:31:51 +08:00
committed by GitHub

View File

@@ -20,7 +20,7 @@ type ClientSetNotEnabledError struct {
}
func (e ClientSetNotEnabledError) Error() string {
return fmt.Sprintf("client set not enabled: %s", e.err.Error())
return fmt.Sprintf("client set not enabled: %v", e.err)
}
type ClientSetOptions struct {