This change modifies the status and error handling
logic of the /shares API when it fails to handle
the specified share_type in the request. The updated
logic ensures that appropriate responses are
generated to handle this scenario effectively.
Closes-Bug: #1944478
Change-Id: I8d4b30daae2fe8c88c30d93d402bf2e5a558f804
(cherry picked from commit b24ef91f2c6e1e63c6bae8e52b778bba22ff15ff)
(cherry picked from commit 2aa760011d4dd1ea8f17dad9df94db4d4156692a)
(cherry picked from commit 7918f1d4bb4a66497fc1c76085100dd7f5e82231)
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/905727 /opendev. org/openstack/ manila/ commit/ c0fc23a39f87629 b59fae7bbf46f70 e3e1b459cd
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit c0fc23a39f87629 b59fae7bbf46f70 e3e1b459cd
Author: melakualehegn <email address hidden>
Date: Thu Oct 26 03:11:03 2023 +0300
Change status and error handling for /shares API
This change modifies the status and error handling
logic of the /shares API when it fails to handle
the specified share_type in the request. The updated
logic ensures that appropriate responses are
generated to handle this scenario effectively.
Closes-Bug: #1944478
Change-Id: I8d4b30daae2fe8 c88c30d93d402bf 2e5a558f804 3c6bae8e52b778b ba22ff15ff) a8f17dad9df94db 4d4156692a) 97fc1c76085100d d7f5e82231)
(cherry picked from commit b24ef91f2c6e1e6
(cherry picked from commit 2aa760011d4dd1e
(cherry picked from commit 7918f1d4bb4a664