Skip to content

Commit

Permalink
chore(core-manager): add required fields (#4320)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastijankuzner authored Feb 16, 2021
1 parent 8921314 commit 3fdb473
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core-manager/src/actions/process-restart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export class Action implements Actions.Action {
type: "string",
},
},
required: ["name"],
};

public async execute(params: any): Promise<any> {
Expand Down
1 change: 1 addition & 0 deletions packages/core-manager/src/actions/snapshots-restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class Action implements Actions.Action {
type: "boolean",
},
},
required: ["name"],
};

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

0 comments on commit 3fdb473

Please sign in to comment.