We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d40ca15 commit 7a6c589Copy full SHA for 7a6c589
metrics-proxy/internal/pkg/config.go
@@ -66,7 +66,7 @@ func ParseConfig(location *string) (*LabelNamespaceMap, error) {
66
67
// Find the tag that starts with ns.*
68
for _, tag := range svc.Tags {
69
- if strings.HasPrefix (tag, "ns.") {
+ if strings.HasPrefix (tag, "ns.") && strings.Count (tag, ".") == 1 {
70
var nsTag = strings.TrimPrefix (tag, "ns.")
71
log.Debug("Service=", svc.Name, " Namespace=", nsTag)
72
0 commit comments