mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-07 23:41:37 +01:00
Change trace level of missing metadata
Signed-off-by: stonezdj <stonezdj@gmail.com>
This commit is contained in:
parent
4f7e225e69
commit
05f9920e62
@ -40,7 +40,7 @@ func (d *Database) Load() (map[string]interface{}, error) {
|
|||||||
|
|
||||||
itemMetadata, ok := metadata.Instance().GetByName(item.Key)
|
itemMetadata, ok := metadata.Instance().GetByName(item.Key)
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Warningf("failed to get metadata, key:%v, error:%v, skip to load item", item.Key, err)
|
log.Debugf("failed to get metadata, key:%v, error:%v, skip to load item", item.Key, err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if itemMetadata.Scope == metadata.SystemScope {
|
if itemMetadata.Scope == metadata.SystemScope {
|
||||||
|
Loading…
Reference in New Issue
Block a user