feat: Added some final fixes to structure

Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com>
This commit is contained in:
Marcelo Fukumoto
2026-07-07 13:37:14 +02:00
parent f270a7b1f8
commit a11369ad6d
10 changed files with 140 additions and 170 deletions
@@ -250,9 +250,7 @@ export default class ForkliftPlan extends HarvesterResource {
* Kubernetes GC will automatically delete: Migration, NetworkMap, StorageMap, Provider (→ Secret).
* Use foreground propagation to ensure children are deleted before the parent.
*/
remove() {
const opt = { ...arguments };
remove(opt = {}) {
opt.params = { propagationPolicy: 'Foreground' };
return this._remove(opt);
@@ -28,9 +28,7 @@ export default class ForkliftProvider extends HarvesterResource {
* Kubernetes GC will automatically delete: Secret, NetworkMap, StorageMap.
* Use foreground propagation to ensure children are deleted before the parent.
*/
remove() {
const opt = { ...arguments };
remove(opt = {}) {
opt.params = { propagationPolicy: 'Foreground' };
return this._remove(opt);