Skip to content

Commit

Permalink
fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sbueringer committed Jul 11, 2024
1 parent ed3aa66 commit 34933f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/clusterctl/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func handlePlugins() {
case "help", cobra.ShellCompRequestCmd, cobra.ShellCompNoDescRequestCmd:
// Don't search for a plugin
default:
if err := kubectlcmd.HandlePluginCommand(pluginHandler, cmdPathPieces, false); err != nil {
if err := kubectlcmd.HandlePluginCommand(pluginHandler, cmdPathPieces, 0); err != nil { // FIXME: figure out what the right value for minArgs is
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/webhooks/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func TestClusterDefaultNamespaces(t *testing.T) {
func TestClusterTopologyDefaultNamespaces(t *testing.T) {
// NOTE: ClusterTopology feature flag is disabled by default, thus preventing to set Cluster.Topologies.
// Enabling the feature flag temporarily for this test.
defer utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.ClusterTopology, true)()
utilfeature.SetFeatureGateDuringTest(t, feature.Gates, feature.ClusterTopology, true)

g := NewWithT(t)

Expand Down

0 comments on commit 34933f8

Please sign in to comment.