From cb9a7f049ee3ff902dde521d6ea8847c687c76fc Mon Sep 17 00:00:00 2001 From: kpacha Date: Thu, 17 Sep 2015 16:16:58 +0200 Subject: [PATCH] fix the curl construction --- plugin/deploy/marathon/marathon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/deploy/marathon/marathon.go b/plugin/deploy/marathon/marathon.go index b24be68fc..307ad1287 100644 --- a/plugin/deploy/marathon/marathon.go +++ b/plugin/deploy/marathon/marathon.go @@ -30,8 +30,8 @@ func (m *Marathon) Write(f *buildfile.Buildfile) { put := fmt.Sprintf( "curl -X PUT -d @%s http://%s/v2/apps/%s --header \"Content-Type:application/json\"", m.ConfigFile, - m.App, m.Host, + m.App, ) f.WriteCmdSilent(put) }