mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
chore: add filter to ListMachines
This commit is contained in:
1 parent
2f5a2c6344
commit
87331a9265
19 files changed
+129
-76
No files matched your search
+1
-1
@@ -305,7 +305,7 @@ func (cli *CLI) AddMachine(
|
||||
}
|
||||
|
||||
// List other machines in the cluster to include them in the join request.
|
||||
machines, err := c.ListMachines(ctx)
|
||||
machines, err := c.ListMachines(ctx, nil)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("list cluster machines: %w", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user