Skip to content

Commit 67e0fc0

Browse files
Supress printing error if failing to generate signed URLs (#472)
1 parent e8a9613 commit 67e0fc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sem-context/pkg/store/artifacts_store.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ func (_ *ArtifactStore) CheckIfKeyDeleted(key, contextId string) (bool, error) {
110110
}
111111
defer os.RemoveAll(dir)
112112

113-
if output, err := execArtifactCommand(Pull, keysInfoDirName+contextId+"/.deleted/", dir); err != nil {
113+
output, err := execArtifactCommand(Pull, keysInfoDirName+contextId+"/.deleted/", dir)
114+
if err != nil && !strings.Contains(output, "failed to generate signed URL") {
114115
log.Printf("error executing artifact command: %v. Output: %s\n", err, output)
115116
}
116117

0 commit comments

Comments
 (0)