Merge pull request #1348 from gravitl/hotfix_v0.14.5_ssl_mq

reverted default port to 1883
This commit is contained in:
dcarns 2022-07-07 16:13:48 -04:00 committed by GitHub
commit c5c29f87bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -581,7 +581,7 @@ func GetRce() bool {
// GetMQServerPort - get mq port for server
func GetMQServerPort() string {
port := "8883" //default
port := "1883" //default
if os.Getenv("MQ_SERVER_PORT") != "" {
port = os.Getenv("MQ_SERVER_PORT")
} else if config.Config.Server.MQServerPort != "" {