Skip to content

Commit

Permalink
fix: 修复删除分组异常
Browse files Browse the repository at this point in the history
  • Loading branch information
im050 committed Dec 4, 2018
1 parent 0f1caa0 commit 363208c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (handler *Handler) DeleteGroupHandler() Response {
return Response{Code: 0, Message: "Group already exists"}
}
m.DeleteGroup(groupName)
return Response{Code: 1, Message: "success"}
return Response{Code: 1, Message: "success", Payload: m.Groups}
}

func (handler *Handler) DeleteHostHandler() Response {
Expand Down

0 comments on commit 363208c

Please sign in to comment.