code refactor

This commit is contained in:
UlricQin 2021-01-15 19:59:26 +08:00
parent 51cf58fcdf
commit a4c8638448
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ func hostNodePut(c *gin.Context) {
for _, h := range hosts {
if h.Tenant != "" {
bomb("function only for agent first bind, some agent tenant not null, please clear tenant manual")
bomb("%s already belongs to %s", h.Name, h.Tenant)
}
}