You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-01-31T10:28:50.401+0800 ERROR cache/disk_cache.go:105 make dir failed, dir path /tmp/nacos/cache\config, err: mkdir /tmp/nacos/cache: The system cannot find the path specified.
The text was updated successfully, but these errors were encountered:
I met the same question, set the log or cache path can not read,and return error log like dir path /tmp/nacos/cache\config
I used nacos-go-sdk version github.com/nacos-group/nacos-sdk-go/v2,and my go version is 1.22
What version of nacos-sdk-go are you using?
v2.2.5
What version of nacos-sever are you using?
--
What version of Go are you using (
go version
)?1.18
What operating system (Linux, Windows, …) and version?
Linux&windows
What did you do?
If possible, provide a recipe for reproducing the error.
What did you expect to see?
use filepath.Join to replace the os.PathSeparator
What did you see instead?
nacos-sdk-go/clients/cache/disk_cache.go
Lines 38 to 44 in 389f6b6
2024-01-31T10:28:50.401+0800 ERROR cache/disk_cache.go:105 make dir failed, dir path /tmp/nacos/cache\config, err: mkdir /tmp/nacos/cache: The system cannot find the path specified.
The text was updated successfully, but these errors were encountered: