mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-18 05:31:55 +01:00
Change log level to avoid tedious error in log
change from error to debug Signed-off-by: stonezdj <stonezdj@gmail.com>
This commit is contained in:
parent
8849b0fb9c
commit
dc5cb3504c
@ -189,7 +189,7 @@ func (c *CfgManager) Save() error {
|
||||
func (c *CfgManager) Get(key string) *metadata.ConfigureValue {
|
||||
configValue, err := c.store.Get(key)
|
||||
if err != nil {
|
||||
log.Errorf("failed to get key %v, error: %v", key, err)
|
||||
log.Debugf("failed to get key %v, error: %v", key, err)
|
||||
configValue = &metadata.ConfigureValue{}
|
||||
}
|
||||
return configValue
|
||||
|
Loading…
Reference in New Issue
Block a user