mirror of
https://github.com/chr0nzz/traefik-manager.git
synced 2026-05-09 05:35:22 +02:00
[GH-ISSUE #15] self route 生成的service name与/save不一致问题 #15
Labels
No labels
bug
bug
bug
feature request
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/traefik-manager#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fybody on GitHub (Apr 8, 2026).
Original GitHub issue: https://github.com/chr0nzz/traefik-manager/issues/15
Originally assigned to: @chr0nzz on GitHub.
@chr0nzz commented on GitHub (Apr 8, 2026):
Good catch - this is a naming inconsistency between how the self-route is initially created and how the /save endpoint handles edits.
Root cause: The setup script writes the self-route with the same name for both the router and the service (e.g., traefik-manager). The /save endpoint always appends -service to the service key (e.g., traefik-manager-service). When editing the self-route, the old service key (traefik-manager) was only cleaned up if the route was being renamed. Since you kept the same name, the cleanup was skipped and both service entries coexisted.
Fix: The edit path now always removes the old service key if it differs from the new one, regardless of whether the router name changed. Will be in the next release.
@chr0nzz commented on GitHub (Apr 8, 2026):
update v0.10.4 fixes the issue