fix bad loop logic from moving to for vs forEach
This commit is contained in:
parent
f41ee4e897
commit
3886eac325
|
|
@ -1505,7 +1505,7 @@ class ControllerZfsSshBaseDriver extends CsiBaseDriver {
|
||||||
// should only send 1 of snapshot_id or source_volume_id, preferring the former if sent
|
// should only send 1 of snapshot_id or source_volume_id, preferring the former if sent
|
||||||
if (snapshot_id) {
|
if (snapshot_id) {
|
||||||
if (!zb.helpers.isZfsSnapshot(snapshot_id)) {
|
if (!zb.helpers.isZfsSnapshot(snapshot_id)) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
operativeFilesystem = volumeParentDatasetName + "/" + snapshot_id;
|
operativeFilesystem = volumeParentDatasetName + "/" + snapshot_id;
|
||||||
operativeFilesystemType = 3;
|
operativeFilesystemType = 3;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue