Skip to content

Commit f47c51f

Browse files
author
Mohd Uzair
authored
Update models/controllers/meshery_broker.go
Signed-off-by: Mohd Uzair <[email protected]>
1 parent e7e8a17 commit f47c51f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/controllers/meshery_broker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (mb *mesheryBroker) GetStatus() MesheryControllerStatus {
4545
// TODO: Confirm if the presence of operator is needed to use the operator client sdk
4646
_, err = operatorClient.CoreV1Alpha1().Brokers("meshery").Get(context.TODO(), "meshery-broker", metav1.GetOptions{})
4747
if err == nil {
48-
monitoringEndpoint, endpoint_err := mb.GetEndpointForPort(brokerMonitoringPortName)
48+
monitoringEndpoint, endpointErr := mb.GetEndpointForPort(brokerMonitoringPortName)
4949
if endpoint_err == nil {
5050
if ConnectivityTest(MesheryServer, monitoringEndpoint) {
5151
mb.status = Connected

0 commit comments

Comments
 (0)