Skip to content

Commit

Permalink
docs: Update volume create/register mount options to use []string exa…
Browse files Browse the repository at this point in the history
…mple (#11912)

The examples for `nomad volume create` and `nomad volume register` are
not setting `mount_flags` using an array of strings.

This fixes the issue by changing the example to be `mount_flags =
["noatime"]`.
  • Loading branch information
protochron committed Jan 24, 2022
1 parent cb77cf6 commit a01b70c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/content/docs/commands/volume/create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ capability {
mount_options {
fs_type = "ext4"
mount_flags = "noatime"
mount_flags = ["noatime"]
}
secrets {
Expand Down
2 changes: 1 addition & 1 deletion website/content/docs/commands/volume/register.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ capability {
mount_options {
fs_type = "ext4"
mount_flags = "noatime"
mount_flags = ["noatime"]
}
secrets {
Expand Down

0 comments on commit a01b70c

Please sign in to comment.