diff --git a/pkg/entrance/plugin/nginx/nginx_plugin.go b/pkg/entrance/plugin/nginx/nginx_plugin.go index 692d79bc3..c3d600dc5 100644 --- a/pkg/entrance/plugin/nginx/nginx_plugin.go +++ b/pkg/entrance/plugin/nginx/nginx_plugin.go @@ -449,12 +449,12 @@ func (n *nginxAPI) addDomain(ads *AddDomainS) bool { func (n *nginxAPI) delDomainNode(ads *AddDomainS) bool { // 添加域名 - logrus.Debugf("[addDomain]del domain:%s, pool_name:%s, update_nodes:%v", + logrus.Debugf("[delDomain]del domain:%s, pool_name:%s, update_nodes:%v", ads.Domain, ads.PoolName, ads.NodeList) if len(ads.NodeList) == 0 { - logrus.Warnf("[addDomain]domain %s node is None", ads.Domain) + logrus.Warnf("[delDomain]domain %s node is None", ads.Domain) return true } logrus.Debugf("domain is %s", ads.Domain) @@ -464,7 +464,7 @@ func (n *nginxAPI) delDomainNode(ads *AddDomainS) bool { return false } upstream := reUpStream(ads.NodeList) - logrus.Debugf("[addDomain]post_http, tenant:%s, service:%s, upstream:%s", + logrus.Debugf("[delDomain]post_http, tenant:%s, service:%s, upstream:%s", p.Tenantname, p.Servicename, upstream)