comment certs code for mq

This commit is contained in:
Abhishek Kondur
2022-09-15 09:23:33 +05:30
parent 5270c1ede8
commit 7db3bd3aca
6 changed files with 38 additions and 49 deletions

View File

@@ -601,19 +601,8 @@ func createNode(w http.ResponseWriter, r *http.Request) {
Command: mq.CreateClientCmd,
Username: node.ID,
Password: node.Password,
Clientid: node.ID,
Roles: []mq.MqDynSecRole{
{
Rolename: "node",
Priority: -1,
},
},
Groups: []mq.MqDynSecGroup{
{
Groupname: "nodes",
Priority: -1,
},
},
Roles: make([]mq.MqDynSecRole, 0),
Groups: make([]mq.MqDynSecGroup, 0),
},
},
},