@@ -133,10 +133,11 @@ func probeBGPNeighborsIPv4(c http.FortiHTTP, meta *TargetMetadata) ([]prometheus
133133 return probeBGPNeighborsIPv4Old (c , meta )
134134 }
135135
136- var mBGPNeighborState = prometheus .NewDesc (
137- "fortigate_bgp_neighbor_ipv4_state" ,
138- "Configured bgp neighbor over ipv4 state" ,
139- []string {"vdom" , "remote_as" , "admin_status" , "local_ip" , "neighbor_ip" , "state" }, nil ,)
136+ mBGPNeighborState := prometheus .NewDesc (
137+ "fortigate_bgp_neighbor_ipv4_state" ,
138+ "Configured bgp neighbor over ipv4 state" ,
139+ []string {"vdom" , "remote_as" , "admin_status" , "local_ip" , "neighbor_ip" , "state" }, nil ,
140+ )
140141
141142 var rs []BGPNeighborResponse
142143
@@ -183,10 +184,11 @@ func probeBGPNeighborsIPv6(c http.FortiHTTP, meta *TargetMetadata) ([]prometheus
183184 return probeBGPNeighborsIPv6Old (c , meta )
184185 }
185186
186- var mBGPNeighborState = prometheus .NewDesc (
187- "fortigate_bgp_neighbor_ipv6_state" ,
188- "Configured bgp neighbor over ipv4 state" ,
189- []string {"vdom" , "remote_as" , "admin_status" , "local_ip" , "neighbor_ip" , "state" }, nil ,)
187+ mBGPNeighborState := prometheus .NewDesc (
188+ "fortigate_bgp_neighbor_ipv6_state" ,
189+ "Configured bgp neighbor over ipv6 state" ,
190+ []string {"vdom" , "remote_as" , "admin_status" , "local_ip" , "neighbor_ip" , "state" }, nil ,
191+ )
190192
191193 var rs []BGPNeighborResponse
192194
0 commit comments