From af24d72dd88ef6e9a507ef6866b5d6356e54e84d Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 5 Dec 2022 17:12:33 +0100 Subject: [PATCH] kubernetes: fix context load test Signed-off-by: CrazyMax --- driver/kubernetes/context/load_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/kubernetes/context/load_test.go b/driver/kubernetes/context/load_test.go index d1a1beed..4424b668 100644 --- a/driver/kubernetes/context/load_test.go +++ b/driver/kubernetes/context/load_test.go @@ -13,7 +13,7 @@ import ( func TestDefaultContextInitializer(t *testing.T) { os.Setenv("KUBECONFIG", "./fixtures/test-kubeconfig") defer os.Unsetenv("KUBECONFIG") - ctx, err := command.ResolveDefaultContext(&cliflags.CommonOptions{}, command.DefaultContextStoreConfig()) + ctx, err := command.ResolveDefaultContext(&cliflags.ClientOptions{}, command.DefaultContextStoreConfig()) require.NoError(t, err) assert.Equal(t, "default", ctx.Meta.Name) assert.Equal(t, "zoinx", ctx.Meta.Endpoints[KubernetesEndpoint].(EndpointMeta).DefaultNamespace)