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

Merge pull request #1356 from runzexia/refine-devops-not-enable-log

refine devops not enable log
......@@ -43,6 +43,10 @@ func ListDevopsProjects(workspace, username string, conditions *params.Condition
dbconn, err := cs.ClientSets().MySQL()
if err != nil {
if _, ok := err.(cs.ClientSetNotEnabledError); ok {
klog.V(4).Info("devops client is not enable")
return nil, err
}
klog.Error(err)
return nil, err
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册