Merge "Expose endpoints in cluster list command"
This commit is contained in:
commit
5127da5819
|
@ -34,7 +34,7 @@ class TestListClusters(base.TestCueBase):
|
|||
parsed_args = self.check_parser(cmd, arglist, verifylist)
|
||||
result = cmd.take_action(parsed_args)
|
||||
|
||||
self.assertEqual(['id', 'name', 'status'], result[0])
|
||||
self.assertEqual(['id', 'name', 'status', 'end_points'], result[0])
|
||||
|
||||
|
||||
class TestCreateCluster(base.TestCueBase):
|
||||
|
|
|
@ -29,7 +29,7 @@ LOG = logging.getLogger(__name__)
|
|||
class ListClustersCommand(lister.Lister):
|
||||
"""List Clusters"""
|
||||
|
||||
columns = ['id', 'name', 'status']
|
||||
columns = ['id', 'name', 'status', 'end_points']
|
||||
|
||||
def get_parser(self, prog_name):
|
||||
parser = super(ListClustersCommand, self).get_parser(prog_name)
|
||||
|
|
Loading…
Reference in New Issue