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
MUzairS15 authored and gyohuangxin committed Mar 11, 2024
1 parent 8523577 commit a17a155
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 @@ -45,7 +45,7 @@ func (mb *mesheryBroker) GetStatus() MesheryControllerStatus {
// TODO: Confirm if the presence of operator is needed to use the operator client sdk
_, err = operatorClient.CoreV1Alpha1().Brokers("meshery").Get(context.TODO(), "meshery-broker", metav1.GetOptions{})
if err == nil {
monitoringEndpoint, endpoint_err := mb.GetEndpointForPort(brokerMonitoringPortName)
monitoringEndpoint, endpointErr := mb.GetEndpointForPort(brokerMonitoringPortName)
if endpoint_err == nil {
if ConnectivityTest(MesheryServer, monitoringEndpoint) {
mb.status = Connected
Expand Down

0 comments on commit a17a155

Please sign in to comment.