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)
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/899333 /opendev. org/openstack/ manila/ commit/ 2aa760011d4dd1e a8f17dad9df94db 4d4156692a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.2
commit 2aa760011d4dd1e a8f17dad9df94db 4d4156692a
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)
(cherry picked from commit b24ef91f2c6e1e6