mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 04:35:16 +01: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