This commit is contained in:
Abhishek Kondur
2023-01-24 17:52:45 +04:00
parent 18ddb3d5ca
commit 9dd985dadb

View File

@@ -593,7 +593,6 @@ func createNode(w http.ResponseWriter, r *http.Request) {
return return
} }
logic.UpdateHostFromClient(&data.Host, host) // update the in memory struct values logic.UpdateHostFromClient(&data.Host, host) // update the in memory struct values
logger.Log(0, fmt.Sprintf("HOST ----------> %+v\n", data.Host))
err = logic.UpsertHost(host) err = logic.UpsertHost(host)
if err != nil { if err != nil {
logger.Log(0, r.Header.Get("user"), logger.Log(0, r.Header.Get("user"),