未验证 提交 11ac5463 编写于 作者: R runzexia

refine devops not enable log

Signed-off-by: Nrunzexia <runzexia@yunify.com>
上级 da362aff
......@@ -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.
先完成此消息的编辑!
想要评论请 注册