From 4cada1438dd236fcae8c70ca724451c72165368f Mon Sep 17 00:00:00 2001 From: liuxingwang Date: Fri, 3 Jan 2020 11:15:41 +0800 Subject: [PATCH] [format] remove useless comment --- agollo.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/agollo.go b/agollo.go index 065d834..bf3fbf0 100644 --- a/agollo.go +++ b/agollo.go @@ -293,8 +293,6 @@ func (a *agollo) Watch() <-chan *ApolloResponse { func fixWatchNamespace(namespace string) string { // fix: 传给apollo类似test.properties这种namespace // 通知回来的NamespaceName却没有.properties后缀,追加.properties后缀来修正此问题 - // fix: 默认的application在apollo又是个特例,使用者在使用的时候不会传.properties后缀 - // 而通知接口返回的namespace名字也不会带后缀,将默认application排除来修正此问题 ext := path.Ext(namespace) if ext == "" { namespace = namespace + "." + defaultConfigType