Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli/command/system: remove redundant nil-check (gosimple)
cli/command/system/info.go:375:5: S1009: should omit nil check; len() for []github.com/docker/docker/api/types/system.NetworkAddressPool is defined as zero (gosimple) if info.DefaultAddressPools != nil && len(info.DefaultAddressPools) > 0 { ^ Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit cc1d7b7) Signed-off-by: Sebastiaan van Stijn <[email protected]>
- Loading branch information