commit for fix s3 empty dic
Signed-off-by: Gang Wang <gangwang@alauda.io>
This commit is contained in:
parent
2800ab0224
commit
2693e3560e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ func (ts *tagStore) All(ctx context.Context) ([]string, error) {
|
|||
if err != nil {
|
||||
switch err := err.(type) {
|
||||
case storagedriver.PathNotFoundError:
|
||||
return tags, distribution.ErrRepositoryUnknown{Name: ts.repository.Named().Name()}
|
||||
return tags, nil
|
||||
default:
|
||||
return tags, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue