Merge "Add version to dcmanager software client"

This commit is contained in:
Zuul 2024-02-08 18:23:25 +00:00 committed by Gerrit Code Review
commit 30812c4411
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class SoftwareClient(base.DriverBase):
# The usm systemcontroller endpoint ends with a slash but the regionone
# and the subcloud endpoint don't. The slash is removed to standardize
# with the other endpoints.
self.endpoint = self.endpoint.rstrip('/') + '/software'
self.endpoint = self.endpoint.rstrip('/') + '/v1/software'
self.token = session.get_token()
def query(self, state='all', release=None, timeout=REST_DEFAULT_TIMEOUT):