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

Fix container name logging #67

Merged
merged 1 commit into from
Aug 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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