From 2da7d7242f3fe6c08d058c541f65f8359e7c65dd Mon Sep 17 00:00:00 2001 From: 0xdcarns Date: Thu, 30 Mar 2023 17:33:46 -0400 Subject: [PATCH] remove debug items --- logic/hosts.go | 1 - models/api_host.go | 1 - 2 files changed, 2 deletions(-) diff --git a/logic/hosts.go b/logic/hosts.go index df7a0cf1..2ea04349 100644 --- a/logic/hosts.go +++ b/logic/hosts.go @@ -180,7 +180,6 @@ func UpdateHostFromClient(newHost, currHost *models.Host) (sendPeerUpdate bool) } if len(newHost.NatType) > 0 && newHost.NatType != currHost.NatType { currHost.NatType = newHost.NatType - logger.Log(0, "updated host nat type", newHost.Name, newHost.NatType) sendPeerUpdate = true } diff --git a/models/api_host.go b/models/api_host.go index b912f36f..608d424c 100644 --- a/models/api_host.go +++ b/models/api_host.go @@ -33,7 +33,6 @@ type ApiHost struct { RelayedBy string `json:"relayed_by" bson:"relayed_by" yaml:"relayed_by"` IsRelay bool `json:"isrelay" bson:"isrelay" yaml:"isrelay"` RelayedHosts []string `json:"relay_hosts" bson:"relay_hosts" yaml:"relay_hosts"` - NatType string `json:"nat_type" bson:"nat_type" yaml:"nat_type"` } // Host.ConvertNMHostToAPI - converts a Netmaker host to an API editable host