Debug line
All checks were successful
Unittests / unittests (push) Successful in 9s
Unittests / deploy-dev (push) Successful in 46s

This commit is contained in:
Adam Štrauch 2024-05-28 00:38:33 +02:00
parent 27948ee5b6
commit 27152bad72
Signed by: cx
GPG key ID: 7262DAFE292BCE20

View file

@ -138,6 +138,7 @@ func (s *SnapshotProcessor) CreateSnapshot(appName string, labels []string) (str
return snapshot.KeyName(s.IndexLabel), fmt.Errorf("change working directory error: %v", err)
}
log.Println("DEBUG tar call:", tarBin, "-acf", tmpSnapshotArchivePath, "./")
err = exec.Command(tarBin, "-acf", tmpSnapshotArchivePath, "./").Run()
if err != nil {
return snapshot.KeyName(s.IndexLabel), fmt.Errorf("compression error: %v", err)