mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix changes for 1.13.x branch
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
740fbef836
commit
56e99a8791
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ func getSwarm(ctx context.Context, c swarmapi.ControlClient) (*swarmapi.Cluster,
|
|||
}
|
||||
|
||||
if len(rl.Clusters) == 0 {
|
||||
return nil, errors.NewRequestNotFoundError(errNoSwarm)
|
||||
return nil, errors.NewRequestNotFoundError(ErrNoSwarm)
|
||||
}
|
||||
|
||||
// TODO: assume one cluster only
|
||||
|
|
Loading…
Reference in a new issue