Skip to content

Commit

Permalink
Changes for create request
Browse files Browse the repository at this point in the history
  • Loading branch information
rolljee committed Jan 24, 2024
1 parent 27e5956 commit f5d2b0d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/commands/es/snapshot/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ export default class EsSnapshotsCreate extends Kommand {
const esRequest = {
repository: this.args.repository,
snapshot: this.args.name,
body: {},
body: {
indices: "*",
include_global_state: false,
partial: false,
},
};

const response = await esClient.snapshot.create(esRequest);
Expand Down

0 comments on commit f5d2b0d

Please sign in to comment.