correct audit parameter typo

Change-Id: Id98294a093ac9a704791cdbf52046ce1377f1796
This commit is contained in:
licanwei
2017-12-25 23:52:43 -08:00
parent 2b402d3cbf
commit 070aed7076

View File

@@ -511,7 +511,7 @@ class AuditsController(rest.RestController):
def get_one(self, audit): def get_one(self, audit):
"""Retrieve information about the given audit. """Retrieve information about the given audit.
:param audit_uuid: UUID or name of an audit. :param audit: UUID or name of an audit.
""" """
if self.from_audits: if self.from_audits:
raise exception.OperationNotPermitted raise exception.OperationNotPermitted
@@ -579,7 +579,7 @@ class AuditsController(rest.RestController):
def patch(self, audit, patch): def patch(self, audit, patch):
"""Update an existing audit. """Update an existing audit.
:param auditd: UUID or name of a audit. :param audit: UUID or name of a audit.
:param patch: a json PATCH document to apply to this audit. :param patch: a json PATCH document to apply to this audit.
""" """
if self.from_audits: if self.from_audits: