Skip to content

Commit

Permalink
Silly me, use the restore function
Browse files Browse the repository at this point in the history
  • Loading branch information
rolljee committed Jan 24, 2024
1 parent ff16d1a commit a014174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/es/snapshot/restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default class EsSnapshotsRestore extends Kommand {
},
};

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

this.logOk(`Success ${JSON.stringify(response.body)}`);
}
Expand Down

0 comments on commit a014174

Please sign in to comment.