Skip to content

Commit

Permalink
Pass cluster info in ReauthConn()
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckal777 committed Apr 5, 2024
1 parent 17a100e commit 686994a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clusters/connections.go
Expand Up @@ -153,7 +153,7 @@ type ReauthParams struct {
func (cc *Connections) ReauthConn(ctx context.Context, params ReauthParams) error {
conn := cc.GetConn(params.Cluster)
params.Log.Info("trying reauth", "cluster", params.Cluster)
workloadClient, err := MakeClient(ctx, cc.managementClient, types.NamespacedName{})
workloadClient, err := MakeClient(ctx, cc.managementClient, params.Cluster)
if err != nil {
return err
}
Expand Down

0 comments on commit 686994a

Please sign in to comment.