Skip to content

Commit

Permalink
fix(merge): merge
Browse files Browse the repository at this point in the history
  • Loading branch information
elee1766 committed Nov 6, 2023
2 parents 689c6a4 + ef0d52e commit ce8cd09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/storage/imagestore/imagestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,11 @@ func (is *ImageStore) GetNextRepository(repo string) (string, error) {

driverErr := &driver.Error{}

// some s3 implementations (eg, digitalocean spaces) will return pathnotfounderror for walk but not list
// therefore, we must also catch that error here.
// some s3 implementations (eg, digitalocean spaces) will return pathnotfounderror for walk but not list
// therefore, we must also catch that error here.
if errors.As(err, &driver.PathNotFoundError{}) {
is.log.Debug().Msg("empty rootDir")

return "", nil
}

Expand Down

0 comments on commit ce8cd09

Please sign in to comment.