1
0
Fork 0
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:
Sebastiaan van Stijn 2017-02-17 17:21:58 -08:00
parent 740fbef836
commit 56e99a8791
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -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