Closed yangguoandresolution closed 6 years ago
missing Capabilities Volume API method for CephRBDVolumeDriver and Mount API Unmount API parameter dkvolume.MountRequest dkvolume.UnmountRequest in driver.go, hope that import rbd-docker-plugin, please check my code.
Thank you for your reply, I would like to confirm your advice.
Hello @yangguoandresolution, I've used your change it fixes this error (cannot use d (type cephRBDVolumeDriver) as type volume.Driver), But I am run into another error
go get github.com/yangguoandresolution/rbd-docker-plugin
# github.com/yangguoandresolution/rbd-docker-plugin
src/github.com/yangguoandresolution/rbd-docker-plugin/main.go:121: cannot use socket (type string) as type int in argument to h.Handler.ServeUnix
uname -r && docker --version && go version && ceph --version
4.4.0-45-generic
Docker version 1.12.6, build 78d1802
go version go1.6.2 linux/amd64
ceph version 10.2.3 (ecc23778eb545d8dd55e2e4735b53cc93f92e65b)
Thanks
Can reopen if you want to rebase but I think this is fixed now from upstream. Thank you.