mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-09 05:16:45 +08:00
Update ext_client.go
Removed error loggin
This commit is contained in:
parent
79369f33e4
commit
c4577e1769
1 changed files with 2 additions and 6 deletions
|
@ -265,11 +265,7 @@ func createExtClient(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
err := json.NewDecoder(r.Body).Decode(&CustomExtClient);
|
err := json.NewDecoder(r.Body).Decode(&CustomExtClient);
|
||||||
|
|
||||||
if err != nil {
|
if err == nil { extclient.ClientID = CustomExtClient.ClientID }
|
||||||
logger.Log(1, "error creating CustomExtClient"+err.Error())
|
|
||||||
} else {
|
|
||||||
extclient.ClientID = CustomExtClient.ClientID
|
|
||||||
}
|
|
||||||
|
|
||||||
extclient.Network = networkName
|
extclient.Network = networkName
|
||||||
extclient.IngressGatewayID = nodeid
|
extclient.IngressGatewayID = nodeid
|
||||||
|
|
Loading…
Add table
Reference in a new issue