#768: done
This commit is contained in:
parent
49ea2de13c
commit
2a21236b92
@ -47,6 +47,8 @@ module Devops
|
|||||||
|
|
||||||
def add_or_update_deploy_env
|
def add_or_update_deploy_env
|
||||||
body = create_object_from_json_body
|
body = create_object_from_json_body
|
||||||
|
rl = check_array(body["run_list"], "Parameter 'run_list' should be an array of string", String, false, true)
|
||||||
|
Validators::Helpers::RunList.new(rl).validate!
|
||||||
Devops::Model::DeployEnvFactory.create(body)
|
Devops::Model::DeployEnvFactory.create(body)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user