Fix testcases that expect trailing whitespace

and broken integration tests based of nil pointers

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: e16e9775d48b6cd0cc7b4a66114d1b9680aa2f31
Component: engine
This commit is contained in:
Daniel Nephin
2016-09-13 14:21:07 -04:00
parent d90a93ce88
commit dd60049ff5
8 changed files with 31 additions and 14 deletions

View File

@ -61,7 +61,7 @@ func runList(dockerCli *command.DockerCli, opts listOptions) error {
if len(dockerCli.ConfigFile().NetworksFormat) > 0 && !opts.quiet {
format = dockerCli.ConfigFile().NetworksFormat
} else {
format = "table"
format = formatter.TableFormatKey
}
}