fix(resolver): strip all dashes when matching container names
continuous-integration/drone/push Build is failing
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:
@@ -230,4 +230,4 @@ docker run -d \
|
||||
-e WATCH_PERIOD_SECONDS=30 \
|
||||
-e DEBUG=false \
|
||||
--name network-go \
|
||||
network-go
|
||||
safebox/network-go
|
||||
Reference in New Issue
Block a user