wvanbergen / kazoo-go

Go library to access Kafka metadata in Zookeeper
http://godoc.org/github.com/wvanbergen/kazoo-go
MIT License
100 stars 48 forks source link

Make the node exist check explicit in mkdirRecursive #36

Closed bidesh closed 6 years ago

bidesh commented 6 years ago

Regarding #35

horkhe commented 6 years ago

I would have suggest to fix this differently. makedirRecursive should respect the chroot parameter and do not even try to access anything above it, for chroot was given for exactly this reason.