This commit is contained in:
amartynov 2015-09-21 11:53:40 +03:00
parent 17b64b2422
commit 08f826586a

View File

@ -52,7 +52,6 @@ module Devops
def update def update
body = create_object_from_json_body body = create_object_from_json_body
check_string(body["name"], "Parameter 'name' must be a not empty string", true, false)
check_string(body["description"], "Parameter 'description' must be a string", true, true) check_string(body["description"], "Parameter 'description' must be a string", true, true)
#check_array(body["deploy_envs"], "Parameter 'deploy_envs' must be a not empty array of objects", Hash) #check_array(body["deploy_envs"], "Parameter 'deploy_envs' must be a not empty array of objects", Hash)
rl = check_array(body["run_list"], "Parameter 'run_list' must be an array of string", String, true, true) rl = check_array(body["run_list"], "Parameter 'run_list' must be an array of string", String, true, true)