fix: use correct variableg

This commit is contained in:
Jose Diaz-Gonzalez
2024-12-16 23:32:47 -05:00
parent 78cd787622
commit 3f49c70176

View File

@@ -155,7 +155,7 @@ func CopyFromImage(appName string, image string, source string, destination stri
}()
// 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)
}