Skip to content

Commit cb3833a

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

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
@@ -46,7 +46,7 @@ func (mb *mesheryBroker) GetStatus() MesheryControllerStatus {
4646
_, err = operatorClient.CoreV1Alpha1().Brokers("meshery").Get(context.TODO(), "meshery-broker", metav1.GetOptions{})
4747
if err == nil {
4848
monitoringEndpoint, endpointErr := mb.GetEndpointForPort(brokerMonitoringPortName)
49-
if endpoint_err == nil {
49+
if endpointErr == nil {
5050
if ConnectivityTest(MesheryServer, monitoringEndpoint) {
5151
mb.status = Connected
5252
return mb.status

0 commit comments

Comments
 (0)