diff --git a/plugins/common/docker.go b/plugins/common/docker.go index b813a0cac..25740a5d1 100644 --- a/plugins/common/docker.go +++ b/plugins/common/docker.go @@ -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) }