fix bad loop logic from moving to for vs forEach

This commit is contained in:
Travis Glenn Hansen 2021-02-21 13:42:02 -07:00
parent f41ee4e897
commit 3886eac325
1 changed files with 1 additions and 1 deletions

View File

@ -1505,7 +1505,7 @@ class ControllerZfsSshBaseDriver extends CsiBaseDriver {
// should only send 1 of snapshot_id or source_volume_id, preferring the former if sent
if (snapshot_id) {
if (!zb.helpers.isZfsSnapshot(snapshot_id)) {
return;
continue;
}
operativeFilesystem = volumeParentDatasetName + "/" + snapshot_id;
operativeFilesystemType = 3;