project userid not found log level into debug (#17343)

Signed-off-by: yminer <yminer@vmware.com>
This commit is contained in:
MinerYang 2022-08-08 14:20:13 +08:00 committed by GitHub
parent 1e13999fff
commit daf0874ed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ func (c *controller) loadOwners(ctx context.Context, projects models.Projects) e
for _, p := range projects {
owner, ok := m[p.OwnerID]
if !ok {
log.G(ctx).Warningf("the owner of project %s is not found, owner id is %d", p.Name, p.OwnerID)
log.G(ctx).Debugf("the owner of project %s is not found, owner id is %d", p.Name, p.OwnerID)
continue
}