Fixes an issue that prevented ensure shares to be run
A typo in the URL for ensure shares was created and the API endpoint did not match as a result. Fixed the issue by replacing '_' by '-' to match the endpoint correctly. Closes-bug: #2109376 Change-Id: I025d0f853bced49a2d484dc75db809b3d7edb498 Signed-off-by: Carlos da Silva <ces.eduardo98@gmail.com> (cherry picked from commit43ee9f0e59) (cherry picked from commitb44aae26b8)
This commit is contained in:
committed by
Goutham Pacha Ravi
parent
2e221d32b6
commit
4a1177ffb1
@@ -89,7 +89,7 @@ class ServiceManager(base.Manager):
|
||||
|
||||
@api_versions.wraps("2.86")
|
||||
def ensure_shares(self, host): # noqa
|
||||
resource_path = f'{RESOURCE_PATH}/ensure_shares'
|
||||
resource_path = f'{RESOURCE_PATH}/ensure-shares'
|
||||
body = {"host": host}
|
||||
return self.api.client.post(resource_path, body=body)
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed an issue while running ensure shares and getting a not found
|
||||
response. The command should now work properly.
|
||||
Reference in New Issue
Block a user