未验证 提交 79735c45 编写于 作者: K KubeSphere CI Bot 提交者: GitHub

Merge pull request #753 from wansir/fix-npe

fix: null pointer exception
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册