Merge pull request #186 from a110605/filter_export_lhv1

Filter exported SC for non-longhorn V1 volume
This commit is contained in:
Andy Lee authored and GitHub committed 2025-03-06 15:34:33 +08:00
commit 3e7b2338ff
2 files changed
+34 -7

No files matched your search

@@ -336,6 +336,10 @@ export default class HciPv extends HarvesterResource {
return this.volumeProvider === LONGHORN_DRIVER;
}
get isLonghornV1() {
return this.isLonghorn && !this.isLonghornV2;
}
get isLonghornV2() {
return this.dataEngine === DATA_ENGINE_V2;
}