-
Notifications
You must be signed in to change notification settings - Fork 2.1k
vendor: github.com/docker/go-connections v0.6.0 #6250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
8f85bbf to
5eb0afd
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
| proto, containerPort = SplitProtoPort(containerPort) | ||
| proto, containerPort := SplitProtoPort(containerPort) | ||
| proto = strings.ToLower(proto) | ||
| if err := validateProto(proto); err != nil { | ||
| return nil, err | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah! Small change in behavior in docker/go-connections#121, because we validate protocol fist now, before port, so the error became a bit weird;
#18 67.27 === FAIL: opts/swarmopts TestPortOptInvalidSimpleSyntax (0.00s)
#18 67.27 port_test.go:321: assertion failed: expected error "no port specified: <empty>", got "invalid proto: "
Input ia an empty string;
cli/opts/swarmopts/port_test.go
Lines 310 to 313 in d16defd
| { | |
| value: "", | |
| expectedError: "no port specified: <empty>", | |
| }, |
5eb0afd to
9f2fd27
Compare
- deprecate sockets.GetProxyEnv, sockets.DialerFromEnvironment - add support for unix sockets on Windows - remove legacy CBC cipher suites from client config - align client and server defaults to be the same. - remove support for encrypted TLS private keys. - nat: optimize ParsePortSpec full diff: docker/go-connections@v0.5.0...v0.6.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
9f2fd27 to
3529651
Compare
full diff: docker/go-connections@v0.5.0...v0.6.0
- What I did
- How I did it
- How to verify it
- Human readable description for the release notes
- A picture of a cute animal (not mandatory but encouraged)