Merge pull request #9852 from stonezdj/remove_tedious_msg

Change log level to avoid tedious error in log
This commit is contained in:
Wang Yan 2019-11-15 10:42:28 +08:00 committed by GitHub
commit 7b12ed14a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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