chore: add filter to ListMachines

This commit is contained in:
Pavel Sviderski committed 2025-04-11 21:26:40 +10:00
1 parent 2f5a2c6344
commit 87331a9265
19 files changed
+129 -76

No files matched your search

+1 -1
View File
@@ -163,7 +163,7 @@ func waitClusterInitialised(ctx context.Context, client *client.Client) error {
), ctx)
check := func() error {
_, err := client.ListMachines(ctx)
_, err := client.ListMachines(ctx, nil)
if err == nil {
return nil
}
+1 -1
View File
@@ -38,7 +38,7 @@ func list(ctx context.Context, uncli *cli.CLI, clusterName string) error {
}
defer client.Close()
machines, err := client.ListMachines(ctx)
machines, err := client.ListMachines(ctx, nil)
if err != nil {
return fmt.Errorf("list machines: %w", err)
}