Commit 5d89ab26 authored by caiweidong's avatar caiweidong

Add detacher assert for csiAttacher

parent 6a8a3682
...@@ -54,6 +54,8 @@ type csiAttacher struct { ...@@ -54,6 +54,8 @@ type csiAttacher struct {
// volume.Attacher methods // volume.Attacher methods
var _ volume.Attacher = &csiAttacher{} var _ volume.Attacher = &csiAttacher{}
var _ volume.Detacher = &csiAttacher{}
var _ volume.DeviceMounter = &csiAttacher{} var _ volume.DeviceMounter = &csiAttacher{}
func (c *csiAttacher) Attach(spec *volume.Spec, nodeName types.NodeName) (string, error) { func (c *csiAttacher) Attach(spec *volume.Spec, nodeName types.NodeName) (string, error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment