mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-09 14:46:36 +08:00
add mqtts for secure check
This commit is contained in:
parent
c57c892119
commit
bf793a5412
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ func GetMessageQueueEndpoint() (string, bool) {
|
||||||
} else {
|
} else {
|
||||||
host += ":1883" // default
|
host += ":1883" // default
|
||||||
}
|
}
|
||||||
return host, strings.Contains(host, "wss") || strings.Contains(host, "ssl")
|
return host, strings.Contains(host, "wss") || strings.Contains(host, "ssl") || strings.Contains(host, "mqtts")
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetBrokerType - returns the type of MQ broker
|
// GetBrokerType - returns the type of MQ broker
|
||||||
|
|
Loading…
Add table
Reference in a new issue