mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
properly format copying of files message during dockerfile creation (#222)
This commit is contained in:
committed by
C Cirello
parent
ae40a730f9
commit
8665e11a55
@@ -342,7 +342,7 @@ func createDockerfile(opts createImageOptions, files ...fileLike) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
fmt.Print(fmt.Sprintf("Copying file: %s", filepath.Join(opts.Name, fstat.Name())))
|
fmt.Print(fmt.Sprintf("Copying file: %s ... ", filepath.Join(opts.Name, fstat.Name())))
|
||||||
src, err := os.Create(filepath.Join(opts.Name, fstat.Name()))
|
src, err := os.Create(filepath.Join(opts.Name, fstat.Name()))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user