mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 12:15:20 +01:00
Merge pull request #12862 from heww/fix-issue-12861
fix(quota): change log to debug level when warning not found
This commit is contained in:
commit
2ab4fbefd6
@ -16,13 +16,13 @@ package quota
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
lib_http "github.com/goharbor/harbor/src/lib/http"
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
cq "github.com/goharbor/harbor/src/controller/quota"
|
||||
"github.com/goharbor/harbor/src/lib"
|
||||
"github.com/goharbor/harbor/src/lib/errors"
|
||||
lib_http "github.com/goharbor/harbor/src/lib/http"
|
||||
"github.com/goharbor/harbor/src/lib/log"
|
||||
"github.com/goharbor/harbor/src/pkg/notification"
|
||||
"github.com/goharbor/harbor/src/pkg/notifier/event"
|
||||
@ -134,7 +134,7 @@ func RequestMiddleware(config RequestConfig, skippers ...middleware.Skipper) fun
|
||||
}
|
||||
|
||||
if len(resources) == 0 {
|
||||
logger.Warningf("not warning resources found")
|
||||
logger.Debug("not warning resources found")
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user