clarify docs by removing unclear string (#8439)

the docs generator from code PR #7724  mis scrapped it
This commit is contained in:
Megan Marsh 2019-12-03 01:07:46 -08:00 committed by Adrien Delorme
parent 0bea6022ec
commit fcda07ee6a
2 changed files with 6 additions and 8 deletions

View File

@ -70,10 +70,9 @@ type Config struct {
// manually set nvme_device_path and device_path. // manually set nvme_device_path and device_path.
NVMEDevicePath string `mapstructure:"nvme_device_path" required:"false"` NVMEDevicePath string `mapstructure:"nvme_device_path" required:"false"`
// Build a new volume instead of starting from an existing AMI root volume // Build a new volume instead of starting from an existing AMI root volume
// snapshot. Default false. If true, source_ami is no longer used and the // snapshot. Default false. If true, source_ami/source_ami_filter are no
// following options become required: ami_virtualization_type, // longer used and the following options become required:
// pre_mount_commands and root_volume_size. The below options are also // ami_virtualization_type, pre_mount_commands and root_volume_size.
// required in this mode only:
FromScratch bool `mapstructure:"from_scratch" required:"false"` FromScratch bool `mapstructure:"from_scratch" required:"false"`
// Options to supply the mount command when mounting devices. Each option // Options to supply the mount command when mounting devices. Each option
// will be prefixed with -o and supplied to the mount command ran by // will be prefixed with -o and supplied to the mount command ran by

View File

@ -39,10 +39,9 @@
manually set nvme_device_path and device_path. manually set nvme_device_path and device_path.
- `from_scratch` (bool) - Build a new volume instead of starting from an existing AMI root volume - `from_scratch` (bool) - Build a new volume instead of starting from an existing AMI root volume
snapshot. Default false. If true, source_ami is no longer used and the snapshot. Default false. If true, source_ami/source_ami_filter are no
following options become required: ami_virtualization_type, longer used and the following options become required:
pre_mount_commands and root_volume_size. The below options are also ami_virtualization_type, pre_mount_commands and root_volume_size.
required in this mode only:
- `mount_options` ([]string) - Options to supply the mount command when mounting devices. Each option - `mount_options` ([]string) - Options to supply the mount command when mounting devices. Each option
will be prefixed with -o and supplied to the mount command ran by will be prefixed with -o and supplied to the mount command ran by