Added default target to getter
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
c06a2aa110
commit
15ffe4ce08
@ -97,4 +97,6 @@ class AssignmentView(FlaskView):
|
|||||||
name = key[10:]
|
name = key[10:]
|
||||||
current_scheduling_table[name] = target
|
current_scheduling_table[name] = target
|
||||||
|
|
||||||
return jsonify(current_scheduling_table)
|
default_target = redis_client.get('DEFAULT:SCHEDULED')
|
||||||
|
|
||||||
|
return jsonify({"scheduling_table": current_scheduling_table, "default_target": default_target})
|
||||||
|
Loading…
Reference in New Issue
Block a user