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

+2 -2
View File
@@ -58,7 +58,7 @@ func (s *RollingStrategy) planReplicated(
return plan, err
}
machines, err := cli.ListMachines(ctx)
machines, err := cli.ListMachines(ctx, nil)
if err != nil {
return plan, fmt.Errorf("list machines: %w", err)
}
@@ -227,7 +227,7 @@ func (s *RollingStrategy) planGlobal(
}
}
machines, err := cli.ListMachines(ctx)
machines, err := cli.ListMachines(ctx, nil)
if err != nil {
return plan, fmt.Errorf("list machines: %w", err)
}