fix: use correct variableg

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-12-16 23:32:53 -05:00
1 parent 78cd787622
commit 3f49c70176
1 file changed
+1 -1
+1 -1
View File
@@ -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)
} }