mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 09:38:09 +01:00
Merge pull request #9852 from stonezdj/remove_tedious_msg
Change log level to avoid tedious error in log
This commit is contained in:
commit
7b12ed14a1
@ -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