From 95ae31fdfb5cc74b4731dbec9911f45714b324de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Sun, 31 Oct 2021 20:39:50 +0100 Subject: [PATCH] Reporting error problem fix --- apps/snapshots.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/snapshots.go b/apps/snapshots.go index 412d028..0b62188 100644 --- a/apps/snapshots.go +++ b/apps/snapshots.go @@ -148,7 +148,7 @@ func (s *SnapshotProcessor) RestoreSnapshot(key string, newAppName string) error return fmt.Errorf("creating destination path error: %v", err) } - s.Driver.Get(key, tmpSnapshotArchivePath) + err = s.Driver.Get(key, tmpSnapshotArchivePath) if err != nil { return fmt.Errorf("getting the archive from S3 error: %v", err) }