moby/opts
Sebastiaan van Stijn d855447c46 linting: host:port in url should be constructed with net.JoinHostPort
integration-cli/docker_cli_daemon_test.go:545:54: host:port in url should be constructed with net.JoinHostPort and not directly with fmt.Sprintf (nosprintfhostport)
            cmdArgs = append(cmdArgs, "--tls=false", "--host", fmt.Sprintf("tcp://%s:%s", l.daemon, l.port))
                                                               ^
    opts/hosts_test.go:35:31: host:port in url should be constructed with net.JoinHostPort and not directly with fmt.Sprintf (nosprintfhostport)
            "tcp://:5555":              fmt.Sprintf("tcp://%s:5555", DefaultHTTPHost),
                                        ^
    opts/hosts_test.go:91:30: host:port in url should be constructed with net.JoinHostPort and not directly with fmt.Sprintf (nosprintfhostport)
            ":5555":                   fmt.Sprintf("tcp://%s:5555", DefaultHTTPHost),
                                       ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 306b8c89e8)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit e9e7491f2b)
Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-02-24 17:05:42 -05:00
..
address_pools.go fix address pool flags merge #40388 2020-07-21 22:12:28 +08:00
address_pools_test.go Allow user to control the default address pools 2018-04-30 11:14:08 -04:00
env.go opts: simplify ValidateEnv to use os.LookupEnv 2020-08-14 16:58:30 +02:00
env_test.go opts: simplify ValidateEnv to use os.LookupEnv 2020-08-14 16:58:30 +02:00
hosts.go Move HostGatewayName const to opts, and change vars to consts 2020-10-30 21:17:34 +01:00
hosts_test.go linting: host:port in url should be constructed with net.JoinHostPort 2023-02-24 17:05:42 -05:00
hosts_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
hosts_windows.go opts: unify host-options, and use consts 2020-10-31 16:44:21 +01:00
ip.go Add canonical import comment 2018-02-05 16:51:57 -05:00
ip_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
opts.go enforce reserve internal labels. 2020-02-12 12:03:35 +08:00
opts_test.go enforce reserve internal labels. 2020-02-12 12:03:35 +08:00
quotedstring.go Add canonical import comment 2018-02-05 16:51:57 -05:00
quotedstring_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
runtime.go Add canonical import comment 2018-02-05 16:51:57 -05:00
ulimit.go goimports: fix imports 2019-09-18 12:56:54 +02:00
ulimit_test.go TestUlimitOpt: fix composite literal uses unkeyed fields (govet) 2019-09-18 12:57:34 +02:00