CID-472: temp fix to launch on qa
This commit is contained in:
parent
497489dd77
commit
2c01f06890
@ -7,6 +7,14 @@ module Devops
|
|||||||
|
|
||||||
def create
|
def create
|
||||||
@body ||= create_object_from_json_body
|
@body ||= create_object_from_json_body
|
||||||
|
|
||||||
|
# temp fix to work on qa:
|
||||||
|
unless @body['stack_attributes']
|
||||||
|
@body = {
|
||||||
|
'stack_attributes' => @body.dup
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
stack_attributes = @body.fetch('stack_attributes')
|
stack_attributes = @body.fetch('stack_attributes')
|
||||||
project_name = check_string(stack_attributes["project"], "Parameter 'project' must be a not empty string")
|
project_name = check_string(stack_attributes["project"], "Parameter 'project' must be a not empty string")
|
||||||
env_name = check_string(stack_attributes["deploy_env"], "Parameter 'deploy_env' must be a not empty string")
|
env_name = check_string(stack_attributes["deploy_env"], "Parameter 'deploy_env' must be a not empty string")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user