Commit 20c71eb3 authored by Idriss Neumann's avatar Idriss Neumann
Browse files

Fix: error code position

parent 8daeb046
Pipeline #3451 passed with stages
in 33 minutes and 38 seconds
......@@ -23,7 +23,7 @@ github-internal-mirror:
cmd-api-x86:
stage: publish
script:
- setsid ./ci/docker-deliver.sh "cmd-api" "2.8" "x86"
- setsid ./ci/docker-deliver.sh "cmd-api" "2.9" "x86"
only:
refs:
- /^(master.*)$/
......@@ -38,7 +38,7 @@ cmd-api-x86:
cmd-api-arm:
stage: publish
script:
- setsid ./ci/docker-deliver.sh "cmd-api" "2.7" "arm"
- setsid ./ci/docker-deliver.sh "cmd-api" "2.9" "arm"
only:
refs:
- /^(master.*)$/
......
......@@ -188,7 +188,10 @@ class ManifestEndPoint(Resource):
manifest = json.load(manifest_file)
return manifest
except IOError as err:
return 500, {'status': 'error', 'reason': err}
return {
'status': 'error',
'reason': err
}, 500
health_check_routes = ['/', '/health', '/health/']
cmd_routes = ['/cmd', '/cmd-api', '/cmd/', '/cmd-api/']
......
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