Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
sbueringer committed Jun 1, 2022
1 parent 5f6adf4 commit 8abf66c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
type: string
port:
description: Port is the port on the service that hosting
ExtensionHandler. Default to 8443. `port` should be a valid
ExtensionHandler. Default to 443. `port` should be a valid
port number (1-65535, inclusive).
format: int32
type: integer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func TestExtensionReconciler_discoverExtensionConfig(t *testing.T) {

extensionConfig := fakeExtensionConfigForURL(ns.Name, extensionName, srv1.URL)

discoveredExtensionConfig, err := discoverExtensionConfig(ctx, runtimeClient, extensionConfig)
discoveredExtensionConfig, err := discoverExtensionConfig(ctx, nil, runtimeClient, extensionConfig)
g.Expect(err).To(BeNil())

// Expect exactly one handler and expect the name to be the handler name plus the extension name.
Expand Down Expand Up @@ -232,7 +232,7 @@ func TestExtensionReconciler_discoverExtensionConfig(t *testing.T) {

extensionConfig := fakeExtensionConfigForURL(ns.Name, extensionName, "http://localhost:31239")

discoveredExtensionConfig, err := discoverExtensionConfig(ctx, runtimeClient, extensionConfig)
discoveredExtensionConfig, err := discoverExtensionConfig(ctx, nil, runtimeClient, extensionConfig)
g.Expect(err).ToNot(BeNil())

// Expect exactly one handler and expect the name to be the handler name plus the extension name.
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/cluster_upgrade_runtimesdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func clusterUpgradeWithRuntimeSDKConformanceSpec(ctx context.Context, inputGette
clusterResources = new(clusterctl.ApplyClusterTemplateAndWaitResult)
})

It("Should create and upgrade a workload cluster and eventually run kubetest", func() {
It("Should create and upgrade a workload cluster", func() {
// FIXME(sbueringer): should we create an additional cluster and then deploy the extension there? (like self-hosted, ...)
By("Deploy Test Extension")
testExtensionDeployment, err := os.ReadFile(testExtensionPath) //nolint:gosec
Expand Down

0 comments on commit 8abf66c

Please sign in to comment.