Update ext_client.go

Removed error loggin
This commit is contained in:
Casini Lorenzo
2022-09-02 16:06:26 +02:00
parent 79369f33e4
commit c4577e1769

View File

@@ -264,12 +264,8 @@ func createExtClient(w http.ResponseWriter, r *http.Request) {
var CustomExtClient models.CustomExtClient var CustomExtClient models.CustomExtClient
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