From 519a271602eb6c88d58be3cf1576d03113beee31 Mon Sep 17 00:00:00 2001 From: Honnix Date: Tue, 11 Aug 2020 23:13:21 +0200 Subject: [PATCH] Fix container name logging (#67) --- storage/stow_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/stow_store.go b/storage/stow_store.go index 8ffc670..ce4e6b5 100644 --- a/storage/stow_store.go +++ b/storage/stow_store.go @@ -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.