diff --git a/pkg/framework/test/apiserver_config.go b/pkg/framework/test/apiserver_config.go index 1d7568b5b..19ae5e694 100644 --- a/pkg/framework/test/apiserver_config.go +++ b/pkg/framework/test/apiserver_config.go @@ -4,7 +4,6 @@ import "github.com/asaskevich/govalidator" // APIServerConfig is a struct holding data to configure the API Server process type APIServerConfig struct { - EtcdURL string `valid:"url"` APIServerURL string `valid:"required,url"` } diff --git a/pkg/framework/test/apiserver_config_test.go b/pkg/framework/test/apiserver_config_test.go index e0b8096e3..ca4a16708 100644 --- a/pkg/framework/test/apiserver_config_test.go +++ b/pkg/framework/test/apiserver_config_test.go @@ -11,7 +11,6 @@ var _ = Describe("APIServerConfig", func() { It("does not error on valid config", func() { conf := &APIServerConfig{ APIServerURL: "http://this.is.some.url:1234", - EtcdURL: "http://this.is.another.url/with/a/path/we/dont/care/about", } err := conf.Validate() Expect(err).NotTo(HaveOccurred()) @@ -26,7 +25,6 @@ var _ = Describe("APIServerConfig", func() { It("errors on malformed URLs", func() { conf := &APIServerConfig{ APIServerURL: "something not URLish", - EtcdURL: "something not URLesc", } err := conf.Validate() Expect(err).To(MatchError(ContainSubstring("APIServerURL: something not URLish does not validate as url"))) diff --git a/pkg/framework/test/apiserver_constructor_test.go b/pkg/framework/test/apiserver_constructor_test.go index 5f332db3c..4b73cac8f 100644 --- a/pkg/framework/test/apiserver_constructor_test.go +++ b/pkg/framework/test/apiserver_constructor_test.go @@ -16,7 +16,6 @@ var _ = Describe("NewAPIServer", func() { It("can construct a properly configured APIServer", func() { config := &APIServerConfig{ - EtcdURL: "some etcd URL", APIServerURL: "some APIServer URL", } apiServerBinPathFinder = func(name string) string { diff --git a/pkg/framework/test/apiserver_test.go b/pkg/framework/test/apiserver_test.go index 80046bd3d..bd6b1bce8 100644 --- a/pkg/framework/test/apiserver_test.go +++ b/pkg/framework/test/apiserver_test.go @@ -30,7 +30,6 @@ var _ = Describe("Apiserver", func() { fakeEtcdProcess = &testfakes.FakeFixtureProcess{} apiServerConfig = &APIServerConfig{ - EtcdURL: "http://this.is.etcd:2345/", APIServerURL: "http://this.is.the.API.server:8080", } apiServer = &APIServer{