From 5b83e38daf6843b2ceee825417b2bc155c72525d Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Tue, 13 Mar 2018 15:03:21 -0400 Subject: [PATCH] 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 --- api-ref/source/v3/parameters.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-ref/source/v3/parameters.yaml b/api-ref/source/v3/parameters.yaml index 6af446e9ece..3af28c7c9e7 100644 --- a/api-ref/source/v3/parameters.yaml +++ b/api-ref/source/v3/parameters.yaml @@ -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