minikube: Url parse changes for go 1.8
parent
81fa73d2df
commit
0b595b7a43
|
@ -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
|
||||
|
|
|
@ -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) ||
|
||||
|
|
Loading…
Reference in New Issue