Fix the problem of default width is small

Delete the "max_width" in ShowDatasourceActions because we should
let the terminal to make the max_width of the output fit the screen.

Change-Id: Id51462cff8f14c912a6d0a24e2b85d67a8c7567c
This commit is contained in:
SongmingYan 2017-06-13 18:31:55 +08:00 committed by Songming Yan
parent ec89672c4a
commit 46e4bc630a
1 changed files with 0 additions and 3 deletions

View File

@ -108,9 +108,6 @@ class ShowDatasourceActions(lister.Lister):
def take_action(self, parsed_args):
self.log.debug('take_action(%s)' % parsed_args)
# as we know output it's long, limit column length here
if parsed_args.max_width == 0:
parsed_args.max_width = 40
client = self.app.client_manager.congressclient
datasource_id = parsed_args.datasource_name