This commit is contained in:
parent
5b63a0d9aa
commit
8adbf84362
@ -137,7 +137,7 @@ func (s *SnapshotProcessor) CreateSnapshot(appName string, labels []string) (str
|
||||
return snapshot.KeyName(s.IndexLabel), fmt.Errorf("change working directory error: %v", err)
|
||||
}
|
||||
|
||||
err = exec.Command("/usr/bin/tar", "-acf", tmpSnapshotArchivePath, "./").Run()
|
||||
err = exec.Command("/bin/tar", "-acf", tmpSnapshotArchivePath, "./").Run()
|
||||
if err != nil {
|
||||
return snapshot.KeyName(s.IndexLabel), fmt.Errorf("compression error: %v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user