code refactor
This commit is contained in:
parent
51cf58fcdf
commit
a4c8638448
|
@ -190,7 +190,7 @@ func hostNodePut(c *gin.Context) {
|
||||||
|
|
||||||
for _, h := range hosts {
|
for _, h := range hosts {
|
||||||
if h.Tenant != "" {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue