Skip to content

Commit

Permalink
extended sent instructions and do not override them (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoiGlinik authored Sep 2, 2024
1 parent fe77070 commit 7d6ee79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ def workload_health_check(request: WorkloadHealthRequest):

instructions = request.instructions
if request.stored_instrucitons:
instructions = dal.get_resource_instructions(resource.get("kind"), resource.get("name"))
stored_instructions = dal.get_resource_instructions(resource.get("kind","").lower(), resource.get("name"))
instructions.extend(stored_instructions)

nl = '\n'
if instructions:
Expand Down

0 comments on commit 7d6ee79

Please sign in to comment.