lib/app42/command/base.rb in app42-0.5.7 vs lib/app42/command/base.rb in app42-0.5.8
- old
+ new
@@ -432,10 +432,10 @@
# expect +what+ as operation and instance as no of instance
def scale_or_descale_app what, instance, app_name
begin
body = {'app42' => {"request"=> {
'appName' => app_name,
- "instanceCount" => instance
+ "instanceCount" => instance.to_s
}}}.to_json
query_params = params
query_params.store('body', body)
\ No newline at end of file