Skip to content

Commit

Permalink
Update models/controllers/meshery_broker.go
Browse files Browse the repository at this point in the history
Signed-off-by: Mohd Uzair <[email protected]>
  • Loading branch information
Mohd Uzair authored and gyohuangxin committed Mar 11, 2024
1 parent a17a155 commit c753c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/controllers/meshery_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (mb *mesheryBroker) GetStatus() MesheryControllerStatus {
_, err = operatorClient.CoreV1Alpha1().Brokers("meshery").Get(context.TODO(), "meshery-broker", metav1.GetOptions{})
if err == nil {
monitoringEndpoint, endpointErr := mb.GetEndpointForPort(brokerMonitoringPortName)
if endpoint_err == nil {
if endpointErr == nil {
if ConnectivityTest(MesheryServer, monitoringEndpoint) {
mb.status = Connected
return mb.status
Expand Down

0 comments on commit c753c2d

Please sign in to comment.