Merge pull request #1204 from kpacha/fix_marathon_upgrade

Marathon: fix the curl construction
This commit is contained in:
Brad Rydzewski 2015-09-17 11:04:05 -07:00
commit db85b952eb

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