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)