fix gofmt

This commit is contained in:
yangtaokm
2019-10-22 17:10:08 +08:00
parent 45c43a2c89
commit aa881d59cb
+1 -1
View File
@@ -641,7 +641,7 @@ func setFilePermissions(path string, mode os.FileMode, uid, gid int) error {
return os.Chmod(path, mode)
}
// CreateTargetTarfile creates target tar file for downloading the context file.
// CreateTargetTarfile creates target tar file for downloading the context file.
// Make directory if directory does not exist
func CreateTargetTarfile(tarpath string) (*os.File, error) {
baseDir := filepath.Dir(tarpath)