mirror of
https://github.com/goharbor/harbor
synced 2025-04-07 19:31:30 +00:00
address comment
This commit is contained in:
parent
543cf62e14
commit
5f233f3e21
|
@ -65,5 +65,9 @@ func GetLastUpdate() (int64, error) {
|
|||
}
|
||||
return res, nil
|
||||
}
|
||||
if num > 1 {
|
||||
return 0, fmt.Errorf("Multiple entries for %s in Clair DB", updaterLast)
|
||||
}
|
||||
//num is zero, it's not updated yet.
|
||||
return 0, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user