Skip to content

Commit

Permalink
Auth change for 4.5 Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Krunal-Thakkar committed Dec 11, 2023
1 parent 3f98698 commit 9560974
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,9 @@ func (gc *GatewayClient) ValidateMDMDetails(mdmTopologyParam []byte) (*types.Gat

return &gatewayResponse, nil
} else if httpResp.StatusCode == 200 && responseString == "" {
return &gatewayResponse, errors.New("Wrong Primary MDM IP, Please provide valid Primary MDM IP")
gatewayResponse.Message = "Wrong Primary MDM IP, Please provide valid Primary MDM IP"

return &gatewayResponse, fmt.Errorf("Wrong Primary MDM IP, Please provide valid Primary MDM IP")
}

if gc.version == "4.0" {
Expand Down

0 comments on commit 9560974

Please sign in to comment.