mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Fix errors in cephfs_test.go
This commit is contained in:
parent
4ff6ef4a37
commit
80c3d2df14
@ -85,9 +85,8 @@ func TestPlugin(t *testing.T) {
|
||||
t.Errorf("Got a nil Mounter")
|
||||
}
|
||||
volpath := path.Join(tmpDir, "pods/poduid/volumes/kubernetes.io~cephfs/vol1")
|
||||
path := mounter.GetPath()
|
||||
if path != volpath {
|
||||
t.Errorf("Got unexpected path: %s", path)
|
||||
if volumePath != volpath {
|
||||
t.Errorf("Got unexpected path: %s", volumePath)
|
||||
}
|
||||
if err := mounter.SetUp(nil); err != nil {
|
||||
t.Errorf("Expected success, got: %v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user