minikube: Url parse changes for go 1.8

pull/1693/head
Matt Rickard 2017-06-28 11:26:37 -07:00
parent 81fa73d2df
commit 0b595b7a43
2 changed files with 2 additions and 3 deletions

View File

@ -225,7 +225,7 @@ func TestGetServiceListFromServicesByLabel(t *testing.T) {
}
func TestPrintURLsForService(t *testing.T) {
defaultTemplate := template.Must(template.New("svc-template").Parse("{{.IP}}:{{.Port}}"))
defaultTemplate := template.Must(template.New("svc-template").Parse("http://{{.IP}}:{{.Port}}"))
client := &MockCoreClient{
servicesMap: serviceNamespaces,
}
@ -350,7 +350,7 @@ func TestGetServiceURLsForService(t *testing.T) {
},
},
}
defaultTemplate := template.Must(template.New("svc-template").Parse("{{.IP}}:{{.Port}}"))
defaultTemplate := template.Must(template.New("svc-template").Parse("http://{{.IP}}:{{.Port}}"))
var tests = []struct {
description string

View File

@ -445,7 +445,6 @@ func configEquals(a, b *api.Config) bool {
if aCluster.LocationOfOrigin != bCluster.LocationOfOrigin ||
aCluster.Server != bCluster.Server ||
aCluster.APIVersion != bCluster.APIVersion ||
aCluster.InsecureSkipTLSVerify != bCluster.InsecureSkipTLSVerify ||
aCluster.CertificateAuthority != bCluster.CertificateAuthority ||
len(aCluster.CertificateAuthorityData) != len(bCluster.CertificateAuthorityData) ||