提交 dd03cab0 编写于 作者: W wanjunlei

change log level of get crd webhook error

上级 356560ac
......@@ -65,7 +65,7 @@ func NewAuditing(lister v1alpha1.WebhookLister, url string, stopCh <-chan struct
func (a *auditing) getAuditLevel() audit.Level {
wh, err := a.lister.Get(DefaultWebhook)
if err != nil {
klog.Error(err)
klog.V(8).Info(err)
return audit.LevelNone
}
......@@ -84,7 +84,7 @@ func (a *auditing) Enabled() bool {
func (a *auditing) K8sAuditingEnabled() bool {
wh, err := a.lister.Get(DefaultWebhook)
if err != nil {
klog.Error(err)
klog.V(8).Info(err)
return false
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册