mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
api/types: move NodeListOptions, NodeRemoveOptions to types/swarm
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -178,7 +178,7 @@ func (d *Daemon) CheckLeader(ctx context.Context) func(t *testing.T) (interface{
|
||||
|
||||
errList := "could not get node list"
|
||||
|
||||
ls, err := cli.NodeList(ctx, types.NodeListOptions{})
|
||||
ls, err := cli.NodeList(ctx, swarm.NodeListOptions{})
|
||||
if err != nil {
|
||||
return err, errList
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user