mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 21:24:16 +08:00
change err description
This commit is contained in:
parent
00838cab52
commit
84fa3a1406
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ func createExtClient(w http.ResponseWriter, r *http.Request) {
|
|||
if extclient.RemoteAccessClientID != "" &&
|
||||
extclient.RemoteAccessClientID == customExtClient.RemoteAccessClientID && extclient.OwnerID == caller.UserName && nodeid == extclient.IngressGatewayID {
|
||||
// extclient on the gw already exists for the remote access client
|
||||
err = errors.New("remote client config already exists on the gateway. it may have been created by another user with this same remote client machine")
|
||||
err = errors.New("remote client config already exists on the gateway")
|
||||
slog.Error("failed to create extclient", "user", userName, "error", err)
|
||||
logic.ReturnErrorResponse(w, r, logic.FormatError(err, "badrequest"))
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue