fix: cloned secret should keep originl type (#354) (#362)

(cherry picked from commit 1d89aafeab85ca987282863b59d3553ee9f045ac)

Signed-off-by: Andy Lee <andy.lee@suse.com>
Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
mergify[bot] 2025-07-01 11:47:40 +08:00 committed by GitHub
parent 911d30d7ba
commit cf405be71e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,6 +84,10 @@ export default {
this.value['_type'] = TYPES.OPAQUE; this.value['_type'] = TYPES.OPAQUE;
} }
if ( this.realMode === _CLONE) {
this.value['_type'] = this.liveValue._type;
}
return { return {
isCloud, isCloud,
nodeDrivers: null, nodeDrivers: null,