Merge pull request #186 from a110605/filter_export_lhv1

Filter exported SC for non-longhorn V1 volume
This commit is contained in:
Andy Lee
2025-03-06 15:34:33 +08:00
committed by GitHub
2 changed files with 34 additions and 7 deletions
@@ -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;
}