1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-03-11 13:59:36 +02:00

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