mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 07:37:38 +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 {
|
func (c *CfgManager) Get(key string) *metadata.ConfigureValue {
|
||||||
configValue, err := c.store.Get(key)
|
configValue, err := c.store.Get(key)
|
||||||
if err != nil {
|
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{}
|
configValue = &metadata.ConfigureValue{}
|
||||||
}
|
}
|
||||||
return configValue
|
return configValue
|
||||||
|
Loading…
Reference in New Issue
Block a user