1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

remove duplicated error judgement in cluster.go

Signed-off-by: erxian <evelynhsu21@gmail.com>
This commit is contained in:
Evelynhsu 2016-10-21 12:12:40 +08:00 committed by erxian
parent bc52939b04
commit 75c51ad76b

View file

@ -632,10 +632,6 @@ func (c *Cluster) Inspect() (types.Swarm, error) {
return types.Swarm{}, err
}
if err != nil {
return types.Swarm{}, err
}
return convert.SwarmFromGRPC(*swarm), nil
}