mirror of
https://github.com/harness/drone.git
synced 2025-05-10 15:32:51 +08:00
fix the curl construction
This commit is contained in:
parent
4d08b91865
commit
cb9a7f049e
@ -30,8 +30,8 @@ func (m *Marathon) Write(f *buildfile.Buildfile) {
|
|||||||
put := fmt.Sprintf(
|
put := fmt.Sprintf(
|
||||||
"curl -X PUT -d @%s http://%s/v2/apps/%s --header \"Content-Type:application/json\"",
|
"curl -X PUT -d @%s http://%s/v2/apps/%s --header \"Content-Type:application/json\"",
|
||||||
m.ConfigFile,
|
m.ConfigFile,
|
||||||
m.App,
|
|
||||||
m.Host,
|
m.Host,
|
||||||
|
m.App,
|
||||||
)
|
)
|
||||||
f.WriteCmdSilent(put)
|
f.WriteCmdSilent(put)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user