Skip to content

Commit

Permalink
remove redundant error check
Browse files Browse the repository at this point in the history
  • Loading branch information
karimra committed Jun 20, 2021
1 parent 8faf5c6 commit d64214c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions clab/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,7 @@ func (c *CLab) CheckTopologyDefinition(ctx context.Context) error {
if err = c.verifyHostIfaces(); err != nil {
return err
}
if err = c.VerifyImages(ctx); err != nil {
return err
}

return nil
return c.VerifyImages(ctx)
}

// VerifyBridgeExists verifies if every node of kind=bridge/ovs-bridge exists on the lab host
Expand Down

0 comments on commit d64214c

Please sign in to comment.