Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Bower <nbower@amazon.com>
Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
  • Loading branch information
Naarcha-AWS and natebower authored Jul 30, 2024
1 parent e2a1d02 commit 062860b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _api-reference/snapshots/create-repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The following table lists parameters that can be used with both the `fs` and `s3

Request field | Description
:--- | :---
`prefix_mode_verification` | When enabled, adds a hashed value of a random seed to the prefix for repository verification. For remote store enabled clusters, you can add the `setting.prefix_mode_verification` setting to the node attributes for the supplied repository. This field works with both existing and new repositories. Optional.
`prefix_mode_verification` | When enabled, adds a hashed value of a random seed to the prefix for repository verification. For remote-store-enabled clusters, you can add the `setting.prefix_mode_verification` setting to the node attributes for the supplied repository. This field works with both new and existing repositories. Optional.

### fs repository

Expand Down Expand Up @@ -83,7 +83,7 @@ For the `base_path` parameter, do not enter the `s3://` prefix when entering you

### `fs`

The following example registers an `fs` repository using the local directory `/mnt/snapshots` as `location`.
The following example registers an `fs` repository using the local directory `/mnt/snapshots` as `location`:

```json
PUT /_snapshot/my-fs-repository
Expand All @@ -99,7 +99,7 @@ PUT /_snapshot/my-fs-repository
### `s3`


The following request registers a new S3 repository called `my-opensearch-repo` in an existing bucket called `my-open-search-bucket`. By default, all snapshots are stored in the `my/snapshot/directory`.
The following request registers a new S3 repository called `my-opensearch-repo` in an existing bucket called `my-open-search-bucket`. By default, all snapshots are stored in the `my/snapshot/directory`:

```json
PUT /_snapshot/my-opensearch-repo
Expand Down

0 comments on commit 062860b

Please sign in to comment.