Skip to content

Commit

Permalink
Always force update the marathon app (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
takirala committed Jan 23, 2018
1 parent 31aad6c commit 9c4b53b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ class MarathonClient(
)(
implicit session: RequestSession
): Future[Response] = {
client(put("v2" / "apps" / appId.toUri, Json.fromJsonObject(appJson)))
client(
put(
"v2" / "apps" / appId.toUri ? ("force" -> "true"),
Json.fromJsonObject(appJson)
)
)
}

def getAppOption(
Expand Down

0 comments on commit 9c4b53b

Please sign in to comment.