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

Merge pull request #27624 from erxian/remove-duplicate-err-judgement

remove duplicated error judgement in cluster.go
This commit is contained in:
Vincent Demeester 2016-10-24 16:11:53 -07:00 committed by GitHub
commit 09985ad897

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
}