print namespace and gourpname by nacos

dev
yoyofx 3 years ago
parent e39cfe4cdd
commit a16a88e3c9

@ -35,7 +35,9 @@ func (provider *ViperRemoteProvider) GetProvider(runtimeViper *viper.Viper) *vip
if err == nil {
//err = remote_viper.WatchRemoteConfigOnChannel()
if err == nil {
fmt.Println("used remote viper")
fmt.Println("config center ..........")
fmt.Println("used remote viper by Nacos")
fmt.Printf("Nacos config: namespace: %s , group: %s", option.NamespaceId, option.GroupName)
return remote_viper
}
} else {

Loading…
Cancel
Save