From a4c8638448bcc20c7779d1c7e68e1cd1477dcd22 Mon Sep 17 00:00:00 2001 From: UlricQin Date: Fri, 15 Jan 2021 19:59:26 +0800 Subject: [PATCH] code refactor --- src/modules/ams/http/router_host.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ams/http/router_host.go b/src/modules/ams/http/router_host.go index 12cd25d4..cbd61cc2 100644 --- a/src/modules/ams/http/router_host.go +++ b/src/modules/ams/http/router_host.go @@ -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) } }