11 ms·
Why is it a problem to have different versions of Go on the same machine?
by sigjuice 9y ago
Why is it a problem to have different versions of Go on the same machine?
- alberteinstein 9y agoHaving two different versions is not an issue, tools like GVM helps in managing them. Docker helps in handling this easily without any extra tools. But, if something is built with a version, it cannot be easily changed without thorough testing. For e.g. when Kubernetes was built with Go 1.8 instead of 1.7, emptyDir teardown path was broken due to the change in behavior of os.Rename in Go 1.8 [1]. This bug caused other issues like the one with minikube [2] and they had to rebuild with Go 1.7 and update new binaries for already released v0.20.0 [1] https://github.com/kubernetes/kubernetes/issues/43534#issuecomment-288824459 https://github.com/kubernetes/kubernetes/issues/43534#issuec... [2] https://github.com/kubernetes/minikube/issues/1630#issuecomment-310275970 https://github.com/kubernetes/minikube/issues/1630#issuecomm...