Added missing configuration field
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
37b1bd4373
commit
f6ecb0d0d0
@ -31,7 +31,7 @@ class JobView(FlaskView):
|
|||||||
if e.status == 404:
|
if e.status == 404:
|
||||||
return {
|
return {
|
||||||
"pod_name": pod_name,
|
"pod_name": pod_name,
|
||||||
"config": {
|
"configuration": {
|
||||||
"robot_address": None,
|
"robot_address": None,
|
||||||
"program_url": None,
|
"program_url": None,
|
||||||
},
|
},
|
||||||
@ -47,7 +47,7 @@ class JobView(FlaskView):
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
"pod_name": pod_name,
|
"pod_name": pod_name,
|
||||||
"config": {
|
"configuration": {
|
||||||
"robot_address": env['ROBOT_ADDRESS'],
|
"robot_address": env['ROBOT_ADDRESS'],
|
||||||
"program_url": env['PROGRAM_URL'],
|
"program_url": env['PROGRAM_URL'],
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user