Unverified Commit 2e6f58dd authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #77431 from cwdsuzhou/Add_detacher_assert_check

Add detacher assertion for csiAttacher
parents 19ed7fa7 5d89ab26
...@@ -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