cephfs: use conf.InstanceID instead of global variable

RBD does not have a global CSIInstanceID variable anymore, there is no
need for CephFS to use one either.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos
2024-08-05 16:05:24 +02:00
committed by mergify[bot]
parent dfb48bac17
commit 130e8b42f2
2 changed files with 5 additions and 14 deletions

View File

@ -31,7 +31,7 @@ func TestControllerServer_validateCreateVolumeGroupSnapshotRequest(t *testing.T)
t.Parallel()
cs := ControllerServer{
DefaultControllerServer: csicommon.NewDefaultControllerServer(
csicommon.NewCSIDriver("cephfs.csi.ceph.com", "1.0.0", "test")),
csicommon.NewCSIDriver("cephfs.csi.ceph.com", "1.0.0", "test", "default")),
}
type args struct {