From 070aed70768fccc080e87f94651a36e6a3335cab Mon Sep 17 00:00:00 2001
From: licanwei
Date: Mon, 25 Dec 2017 23:52:43 -0800
Subject: [PATCH] correct audit parameter typo
Change-Id: Id98294a093ac9a704791cdbf52046ce1377f1796
---
watcher/api/controllers/v1/audit.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/watcher/api/controllers/v1/audit.py b/watcher/api/controllers/v1/audit.py
index 8fe2a22e7..b8b3e8038 100644
--- a/watcher/api/controllers/v1/audit.py
+++ b/watcher/api/controllers/v1/audit.py
@@ -511,7 +511,7 @@ class AuditsController(rest.RestController):
def get_one(self, 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:
raise exception.OperationNotPermitted
@@ -579,7 +579,7 @@ class AuditsController(rest.RestController):
def patch(self, audit, patch):
"""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.
"""
if self.from_audits: