forked from coop-cloud/abra
refactor: less quotes
This commit is contained in:
parent
56a1e7f8c4
commit
737a22aacc
|
@ -39,11 +39,11 @@ func ConfigureAndCp(c *cli.Context, app config.App, srcPath string, dstPath stri
|
|||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
logrus.Debugf("retrieved '%s' as target container on '%s'", formatter.ShortenID(container.ID), app.Server)
|
||||
logrus.Debugf("retrieved %s as target container on %s", formatter.ShortenID(container.ID), app.Server)
|
||||
|
||||
if isToContainer {
|
||||
if _, err := os.Stat(srcPath); err != nil {
|
||||
logrus.Fatalf("'%s' does not exist?", srcPath)
|
||||
logrus.Fatalf("%s does not exist?", srcPath)
|
||||
}
|
||||
|
||||
toTarOpts := &archive.TarOptions{NoOverwriteDirNonDir: true, Compression: archive.Gzip}
|
||||
|
|
Loading…
Reference in New Issue