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):
|
def list(self):
|
||||||
return self._list(self.url, 'security_reports')
|
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):
|
def put(self, report_uuid, ticket_id):
|
||||||
return self._update(self.url + '/{id}'.format(id=report_id) +
|
return self._update(self.url + '/{uuid}'.format(uuid=report_uuid) +
|
||||||
'/tickets/' + '{ticket_id}'.format(
|
'/tickets/' + '{ticket_id}'.format(
|
||||||
ticket_id=ticket_id))
|
ticket_id=ticket_id))
|
||||||
|
@ -5,7 +5,6 @@ description-file =
|
|||||||
README.rst
|
README.rst
|
||||||
author = OpenStack
|
author = OpenStack
|
||||||
author-email = openstack-dev@lists.openstack.org
|
author-email = openstack-dev@lists.openstack.org
|
||||||
version = 1.2-1
|
|
||||||
home-page = http://www.openstack.org/
|
home-page = http://www.openstack.org/
|
||||||
classifier =
|
classifier =
|
||||||
Environment :: OpenStack
|
Environment :: OpenStack
|
||||||
|
Loading…
x
Reference in New Issue
Block a user