Commit 87166cc2 authored by kalvin's avatar kalvin

fixbugs

parent 2113001b
...@@ -301,7 +301,7 @@ def update_microservice(namespace, name, image, tier) { ...@@ -301,7 +301,7 @@ def update_microservice(namespace, name, image, tier) {
j = readJSON text:json_str j = readJSON text:json_str
response = httpRequest contentType: "APPLICATION_JSON", httpMode: "PUT", requestBody: JsonOutput.toJson(j), url: dest_url response = httpRequest contentType: "APPLICATION_JSON", httpMode: "PUT", requestBody: j, url: dest_url
def res_json = jsonParse(response.content) def res_json = jsonParse(response.content)
return res_json return res_json
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment