Skip to content

Commit

Permalink
docs: mount_flags takes a slice of strings (#11583)
Browse files Browse the repository at this point in the history
The `mount_flags` option takes a slice of strings, not a
comma-separated string like the flags passed to `mount(8)`.
  • Loading branch information
tgross authored Nov 29, 2021
1 parent de85e58 commit 851ed63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/content/docs/job-specification/volume.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ job "docs" {
mount_options {
fs_type = "ext4"
mount_flags = "noatime"
mount_flags = ["noatime"]
}
}
}
Expand Down Expand Up @@ -106,7 +106,7 @@ The following fields are only valid for volumes with `type = "csi"`:
necessary.

- `fs_type`: file system type (ex. `"ext4"`)
- `mount_flags`: the flags passed to `mount` (ex. `"ro,noatime"`)
- `mount_flags`: the flags passed to `mount` (ex. `["ro", "noatime"]`)

## Volume Interpolation

Expand Down

0 comments on commit 851ed63

Please sign in to comment.