Filter export SC for non-longhorn V1 volume

Signed-off-by: Andy Lee <andy.lee@suse.com>
(cherry picked from commit 104e98e390)
This commit is contained in:
Andy Lee
2025-03-06 07:35:24 +00:00
committed by Mergify
parent b3dbc2f0d3
commit af36163b29
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;
}