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

Merge pull request #3003 from Howie59/master

Fix for issue #2832
......@@ -922,7 +922,7 @@ func handleOpenpitrixError(resp *restful.Response, err error) {
api.HandleNotFound(resp, nil, err)
return
}
if status.Code(err) == codes.InvalidArgument {
if status.Code(err) == codes.InvalidArgument || status.Code(err) == codes.FailedPrecondition {
klog.V(4).Infoln(err)
api.HandleBadRequest(resp, nil, err)
return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册