remove duplicated error judgement in cluster.go

Signed-off-by: erxian <evelynhsu21@gmail.com>
Upstream-commit: 75c51ad76b0b5995e9349cb369c9e8664f40855c
Component: engine
This commit is contained in:
Evelynhsu
2016-10-21 14:28:10 +08:00
committed by erxian
parent 6c158febcb
commit a9bf94a379
@@ -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
}