fix(resolver): strip all dashes when matching container names
continuous-integration/drone/push Build is failing

Instead of prefix matching on the part before the first dash, now strip
all dashes from both the lookup name and the stored container/selector
names and compare exactly. This improves matching accuracy for names
containing multiple dashes or dashes in varying positions.
This commit is contained in:
gyurix
2026-06-15 11:55:00 +02:00
parent dea2fca7fb
commit f9513cd98a
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -230,4 +230,4 @@ docker run -d \
-e WATCH_PERIOD_SECONDS=30 \
-e DEBUG=false \
--name network-go \
network-go
safebox/network-go