Fix redundent paginated in senlinclient

This patch fixes argument of paginated to resolve TypeError when list
profile type.

Change-Id: I1144e994a46cc542c5ba9f1e786f515c0696c5fa
Closes-bug: #1530019
This commit is contained in:
Cindia-blue
2015-12-30 13:10:42 +08:00
parent c3d35e7cee
commit aa71300a6d

View File

@@ -43,7 +43,7 @@ def do_profile_type_list(sc, args=None):
:param sc: Instance of senlinclient.
:param args: Additional command line arguments, if any.
"""
types = sc.conn.cluster.profile_types(paginated=False)
types = sc.conn.cluster.profile_types()
utils.print_list(types, ['name'], sortby_index=0)