Merge "correct audit parameter typo"

This commit is contained in:
Zuul
2017-12-28 10:54:57 +00:00
committed by Gerrit Code Review

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: