Fix API reference attach_mode parameter default for attachments API

The default attach_mode for volume attachments is "rw", as can
be seen from looking at the VolumeAttachment.finish_attach method
and VolumeManager.attachment_update method. The REST API itself
does not set or return a default attach_mode, it's all set in the
data model when the attachment is 'completed' by assigning a host
connector.

Change-Id: I1e41e93bd534d830311a653eb16fef89a2d8431a
This commit is contained in:
Matt Riedemann 2018-03-13 15:03:21 -04:00
parent 68dfa92afa
commit 5b83e38daf

View File

@ -457,7 +457,7 @@ allow_attached_volume:
attach_mode:
description: |
The attach mode of attachment, read-only ('ro') or
read-and-write ('rw'), default is 'ro'.
read-and-write ('rw'), default is 'rw'.
in: body
required: false
type: string