Skip to content

Commit

Permalink
destroy: remove prometheus route
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchietti committed Mar 7, 2024
1 parent d5d3e04 commit 9a7a28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageroot/actions/destroy-module/20destroy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if default_traefik_id is None:
sys.exit(2)

# Remove traefik routes
for instance in [os.environ['MODULE_ID'], os.environ['MODULE_ID'] + '_grafana', os.environ['MODULE_ID'] + '_loki']:
for instance in [os.environ['MODULE_ID'], os.environ['MODULE_ID'] + '_grafana', os.environ['MODULE_ID'] + '_loki', os.environ['MODULE_ID'] + '_prometheus']:
response = agent.tasks.run(
agent_id=default_traefik_id,
action='delete-route',
Expand Down

0 comments on commit 9a7a28d

Please sign in to comment.