diff --git a/cli/command/system/info.go b/cli/command/system/info.go index aaf597cf89..742e8df50b 100644 --- a/cli/command/system/info.go +++ b/cli/command/system/info.go @@ -372,7 +372,7 @@ func prettyPrintServerInfo(streams command.Streams, info *dockerInfo) []error { fprintln(output, " Product License:", info.ProductLicense) } - if info.DefaultAddressPools != nil && len(info.DefaultAddressPools) > 0 { + if len(info.DefaultAddressPools) > 0 { fprintln(output, " Default Address Pools:") for _, pool := range info.DefaultAddressPools { fprintf(output, " Base: %s, Size: %d\n", pool.Base, pool.Size)