Some variables renamed for a better comprehension
Thus: * id becomes uuid * report_id becomes report_uuid bot to mess with the report id of the plugin * The version in setup.cfg has been removed Change-Id: I0c9877202926d78e1dfc329028921c806fd9784b
This commit is contained in:
parent
ad94abdb7e
commit
eb42bb8d58
@ -36,11 +36,11 @@ class SecurityReportManager(v1_base.BaseManager):
|
||||
def list(self):
|
||||
return self._list(self.url, 'security_reports')
|
||||
|
||||
def get(self, report_id):
|
||||
def get(self, report_uuid):
|
||||
|
||||
return self._get(self.url + '/{id}'.format(id=report_id))
|
||||
return self._get(self.url + '/{uuid}'.format(uuid=report_uuid))
|
||||
|
||||
def put(self, report_id, ticket_id):
|
||||
return self._update(self.url + '/{id}'.format(id=report_id) +
|
||||
def put(self, report_uuid, ticket_id):
|
||||
return self._update(self.url + '/{uuid}'.format(uuid=report_uuid) +
|
||||
'/tickets/' + '{ticket_id}'.format(
|
||||
ticket_id=ticket_id))
|
||||
|
Loading…
Reference in New Issue
Block a user