Debug line
This commit is contained in:
parent
27948ee5b6
commit
27152bad72
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue