Skip to content

Commit 3fdb473

Browse files
chore(core-manager): add required fields (#4320)
1 parent 8921314 commit 3fdb473

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/core-manager/src/actions/process-restart.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export class Action implements Actions.Action {
1818
type: "string",
1919
},
2020
},
21+
required: ["name"],
2122
};
2223

2324
public async execute(params: any): Promise<any> {

packages/core-manager/src/actions/snapshots-restore.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export class Action implements Actions.Action {
3131
type: "boolean",
3232
},
3333
},
34+
required: ["name"],
3435
};
3536

3637
public async execute(params: { name: string; truncate?: boolean; verify?: boolean }): Promise<any> {

0 commit comments

Comments
 (0)