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:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user