nacos-group / nacos-sdk-go

Nacos client in Golang
Apache License 2.0
1.12k stars 337 forks source link

Getting the deleted configuration is still readable #9

Closed mahuaibo closed 5 years ago

mahuaibo commented 5 years ago

I think this is a design flaw that does not set whether to read cached data or specify the source of the returned data

    content, err := client.GetConfig(vo.ConfigParam{
        DataId: "com.hello",
        Group:  "marx"})

    fmt.Println(content, err)

out: 2019/07/02 11:26:04 [INFO] logDir:<data/nacos/log> cacheDir:</private/var/folders/w4/d_d_m03523j12lnn4ypdq90m0000gp/T/cache> hello world2

mahuaibo commented 5 years ago

fixed