Skip to content

Commit

Permalink
Merge pull request #1547 from facchettos/context-fix
Browse files Browse the repository at this point in the history
now uses the context for list
  • Loading branch information
Thomas Kosiewski authored Feb 19, 2024
2 parents 63a8e2b + 868eafc commit 94a3bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (cmd *ListCmd) Run(cobraCmd *cobra.Command, _ []string) error {
cmd.log.Debugf("Error creating pro client: %v", err)
}

vClusters, proVClusters, err := find.ListVClusters(cobraCmd.Context(), proClient, "", "", namespace, "", cmd.log.ErrorStreamOnly())
vClusters, proVClusters, err := find.ListVClusters(cobraCmd.Context(), proClient, cmd.Context, "", namespace, "", cmd.log.ErrorStreamOnly())
if err != nil {
return err
}
Expand Down

0 comments on commit 94a3bdf

Please sign in to comment.