Skip to content

Commit

Permalink
dump-state: read routes from file backend
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchietti committed Aug 21, 2023
1 parent 82280cc commit fcb1f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageroot/bin/module-dump-state
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ with urlopen(f'http://127.0.0.1/{api_path}/api/http/routers') as response:
routes = []
for route in traefik_routes:
# Strip prefixes from traefik response
route = route['name'].removesuffix('-https@redis')
route = route['name'].removesuffix('-https@file')
# Remove default `/cluster-admin` route
if route == 'ApiServer':
continue
Expand Down

0 comments on commit fcb1f9c

Please sign in to comment.