Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Fix container name logging (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
honnix authored Aug 11, 2020
1 parent 45f341b commit 519a271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/stow_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (s *StowStore) LoadContainer(ctx context.Context, container string, createI
c, err := s.loc.Container(container)
if err != nil {
if createIfNotFound {
logger.Infof(ctx, "Container [%s] lookup failed, err [%s], will try to create a new one", err)
logger.Infof(ctx, "Container [%s] lookup failed, err [%s], will try to create a new one", container, err)
if IsNotFound(err) || awsBucketIsNotFound(err) {
c, err := s.loc.CreateContainer(container)
// If the container's already created, move on. Otherwise, fail with error.
Expand Down

0 comments on commit 519a271

Please sign in to comment.