fix the curl construction

This commit is contained in:
kpacha 2015-09-17 16:16:58 +02:00
parent 4d08b91865
commit cb9a7f049e

View file

@ -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)
}