Remove unused type check 'int' in audit.py

Although this method does not report an error, this type check 'int'
is redundant and may be misleading.

Refercnce code url: https://github.com/openstack/wsme/blob/master/wsme/api.py

Change-Id: I631b5f9901790666e7f20275e8c8b99f06f06f0a
This commit is contained in:
chenke 2019-03-11 11:54:19 +08:00
parent eb48cee9ab
commit 9435418bc0
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ class AuditsController(rest.RestController):
return audits_collection
@wsme_pecan.wsexpose(AuditCollection, types.uuid, int, wtypes.text,
wtypes.text, wtypes.text, wtypes.text, int)
wtypes.text, wtypes.text, wtypes.text)
def get_all(self, marker=None, limit=None, sort_key='id', sort_dir='asc',
goal=None, strategy=None):
"""Retrieve a list of audits.