Browse Source

rm invalid mq command

Abhishek Kondur 2 years ago
parent
commit
524cef8c29
1 changed files with 0 additions and 4 deletions
  1. 0 4
      controllers/node.go

+ 0 - 4
controllers/node.go

@@ -1071,10 +1071,6 @@ func deleteNode(w http.ResponseWriter, r *http.Request) {
 		// deletes node related role and client
 		event := mq.MqDynsecPayload{
 			Commands: []mq.MqDynSecCmd{
-				{
-					Command:  mq.DeleteRoleCmd,
-					RoleName: fmt.Sprintf("%s-%s", "Node", nodeid),
-				},
 				{
 					Command:  mq.DeleteClientCmd,
 					Username: nodeid,