Skip to content

Commit

Permalink
Merge pull request #288 from xiaods/dev
Browse files Browse the repository at this point in the history
fix: typo on porting tunnel.go
  • Loading branch information
xiaods authored Dec 16, 2022
2 parents 7eba443 + 7c2b075 commit 70f4b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/tunnel/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func Setup(ctx context.Context, config *daemonconfig.Node, proxy proxy.Proxy) er
if err := util.WaitForAPIServerReady(ctx, config.AgentConfig.KubeConfigKubelet, util.DefaultAPIServerReadyTimeout); err != nil {
logrus.Fatalf("Tunnel watches failed to wait for apiserver ready: %v", err)
}
if err := util.WaitForRBACReady(ctx, config.AgentConfig.KubeConfigK3sController, util.DefaultAPIServerReadyTimeout, authorizationv1.ResourceAttributes{
if err := util.WaitForRBACReady(ctx, config.AgentConfig.KubeConfigK8eController, util.DefaultAPIServerReadyTimeout, authorizationv1.ResourceAttributes{
Namespace: metav1.NamespaceDefault,
Verb: "list",
Resource: "endpoints",
Expand Down

0 comments on commit 70f4b43

Please sign in to comment.