From 4a354647aa8d9ebda11a392bbc1120df9dd41008 Mon Sep 17 00:00:00 2001 From: davidnewhall2 Date: Tue, 24 Dec 2019 23:56:00 -0800 Subject: [PATCH] fix test --- pkg/promunifi/usw.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/promunifi/usw.go b/pkg/promunifi/usw.go index 1c736d05..66d819d8 100644 --- a/pkg/promunifi/usw.go +++ b/pkg/promunifi/usw.go @@ -161,7 +161,8 @@ func (u *promUnifi) exportPRTtable(r report, labels []string, pt []unifi.Port) { } // Copy labels, and add four new ones. - labelP := []string{labels[2] + " Port " + p.PortIdx.Txt, p.PortIdx.Txt, p.Name, p.Mac, p.IP, labels[1], labels[2], labels[3]} + labelP := []string{labels[2] + " Port " + p.PortIdx.Txt, p.PortIdx.Txt, + p.Name, p.Mac, p.IP, labels[1], labels[2], labels[3]} if p.PoeEnable.Val && p.PortPoe.Val { r.send([]*metric{