Debug line
This commit is contained in:
parent
27948ee5b6
commit
27152bad72
@ -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)
|
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()
|
err = exec.Command(tarBin, "-acf", tmpSnapshotArchivePath, "./").Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return snapshot.KeyName(s.IndexLabel), fmt.Errorf("compression error: %v", err)
|
return snapshot.KeyName(s.IndexLabel), fmt.Errorf("compression error: %v", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user