retrieval: kubernetes nodes are not namespaced

This commit is contained in:
Frederic Branczyk 2016-10-12 15:23:11 +02:00 committed by Fabian Reinartz
parent a318d9ad27
commit cc46058802
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func (n *Node) Run(ctx context.Context, ch chan<- []*config.TargetGroup) {
} }
func nodeSource(n *apiv1.Node) string { func nodeSource(n *apiv1.Node) string {
return "node/" + n.Namespace + "/" + n.Name return "node/" + n.Name
} }
const ( const (