mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 13:14:24 +08:00
comment port check
This commit is contained in:
parent
29c5d6ceca
commit
db8d6d95ea
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ func handleHostRegister(w http.ResponseWriter, r *http.Request) {
|
|||
if !hostExists {
|
||||
newHost.PersistentKeepalive = models.DefaultPersistentKeepAlive
|
||||
// register host
|
||||
logic.CheckHostPorts(&newHost)
|
||||
//logic.CheckHostPorts(&newHost)
|
||||
// create EMQX credentials and ACLs for host
|
||||
if servercfg.GetBrokerType() == servercfg.EmqxBrokerType {
|
||||
if err := mq.GetEmqxHandler().CreateEmqxUser(newHost.ID.String(), newHost.HostPass); err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue