You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
compile docker master branch with go1.6.2 failed due to tls.Config.Clone #26410
clone docker master branch
2.compile docker and dockerd cmd
Describe the results you received:
../../client/transport/tlsconfig_clone.go:10: c.Clone undefined (type *tls.Config has no field or method Clone)
Describe the results you expected:
should produce docker binary
Additional information you deem important (e.g. issue happens only occasionally):
actually the origin of the problem is:
1. Background: before go1.7 there is no clone or Clone method for tls.Config, in go1.7 branch there is tls.Config.clone, and now in go source master branch, they changed it to tls.Config.Clone.
2. tlsconfig_clone.go now should only compile with go version > 1.7, and in tlsconfig_clone_go17.go
the two fileds "DynamicRecordSizingDisabled" and "Renegotiation" are added in go1.7+
3. so in the conditional compilation, we should consider both go veriosn <=1.6 and 1.7 and >1.7
Activity
runcom commentedon Sep 8, 2016
getting this as well!