ListMinions support for selectors

This commit is contained in:
Wojciech Tyczynski
2015-04-09 14:22:09 +02:00
parent 6ef0f8c3c5
commit 0e5b478b4d
5 changed files with 9 additions and 7 deletions

View File

@@ -295,7 +295,7 @@ func (rs *REST) createExternalLoadBalancer(ctx api.Context, service *api.Service
if !ok {
return fmt.Errorf("the cloud provider does not support zone enumeration.")
}
hosts, err := rs.machines.ListMinions(ctx)
hosts, err := rs.machines.ListMinions(ctx, labels.Everything(), fields.Everything())
if err != nil {
return err
}