yp-engineering / rbd-docker-plugin

Ceph RBD docker volume driver plugin.
MIT License
102 stars 70 forks source link

cannot use d (type cephRBDVolumeDriver) as type volume.Driver in argument to volume.NewHandler #45

Closed thisismsreddy closed 6 years ago

thisismsreddy commented 7 years ago
ubuntu@ubuntu-docker:~$ docker info
Server Version: 1.12.6
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs

ubuntu@ubuntu-docker:~$ go version
go version go1.6.2 linux/amd64

ubuntu@ubuntu-docker:~$ go get github.com/yp-engineering/rbd-docker-plugin
# github.com/yp-engineering/rbd-docker-plugin
src/github.com/yp-engineering/rbd-docker-plugin/main.go:83: cannot use d (type cephRBDVolumeDriver) as type volume.Driver in argument to volume.NewHandler:
    cephRBDVolumeDriver does not implement volume.Driver (missing Capabilities method)
src/github.com/yp-engineering/rbd-docker-plugin/main.go:121: cannot use socket (type string) as type int in argument to h.Handler.ServeUnix
porcupie commented 6 years ago

Should be fixed on latest master 21b9c0080675e0f770f1079e139fedb099f2e40d