docs: mount_flags takes a slice of strings (#11583)

The `mount_flags` option takes a slice of strings, not a
comma-separated string like the flags passed to `mount(8)`.
This commit is contained in:
Tim Gross
2021-11-29 10:07:34 -05:00
committed by GitHub
parent de85e58e36
commit 851ed6322f

View File

@@ -42,7 +42,7 @@ job "docs" {
mount_options {
fs_type = "ext4"
mount_flags = "noatime"
mount_flags = ["noatime"]
}
}
}
@@ -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