fix: use correct variableg
This commit is contained in:
1 file changed
+1
-1
@@ -155,7 +155,7 @@ func CopyFromImage(appName string, image string, source string, destination stri
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
// write contents to tmpFile
|
// write contents to tmpFile
|
||||||
if _, err := tmpFile.Write([]byte(contents)); err != nil {
|
if _, err := tmpFile.Write([]byte(content)); err != nil {
|
||||||
return fmt.Errorf("Unable to write to temporary file: %v", err)
|
return fmt.Errorf("Unable to write to temporary file: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user