mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-06 22:26:05 +08:00
feat: Added some final fixes to structure
Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user