Skip to content

Commit

Permalink
hotfix of method in snapshots
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Dec 18, 2024
1 parent 1a9cc1e commit 46f6b96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions tests/snapshot/snapshot/restore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ prologues:
index: stories
alias: stories_alias
- path: /_snapshot/{repository}/{snapshot}
method:
- POST
- PUT
method: PUT
parameters:
repository: my-fs-repository
snapshot: my-test-snapshot
Expand Down
4 changes: 3 additions & 1 deletion tests/snapshot/snapshot/snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ chapters:
location: /tmp/opensearch/repo
- synopsis: Create a snapshot.
path: /_snapshot/{repository}/{snapshot}
method: PUT
method:
- POST
- PUT
parameters:
repository: my-fs-repository
snapshot: my-test-snapshot
Expand Down

0 comments on commit 46f6b96

Please sign in to comment.