Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
karimra committed Nov 19, 2020
1 parent b8c0f00 commit c3c80e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clab/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ func (c *cLab) VerifyBridgesExist() error {
for name, node := range c.Nodes {
if node.Kind == "bridge" {
if _, err := netlink.LinkByName(name); err != nil {
return fmt.Errorf("Bridge %s is referenced in the endpoints section but was not found in the default network namespace", name)
return fmt.Errorf("fridge %s is referenced in the endpoints section but was not found in the default network namespace", name)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion clab/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (c *cLab) CreateBridge(ctx context.Context) (err error) {
log.Debugf("Disabling TX checksum offloading for the %s bridge interface...", bridgeName)
err = EthtoolTXOff(bridgeName)
if err != nil {
return fmt.Errorf("Failed to disable TX checksum offloading for the %s bridge interface: %v", bridgeName, err)
return fmt.Errorf("failed to disable TX checksum offloading for the %s bridge interface: %v", bridgeName, err)
}
return nil
}
Expand Down

0 comments on commit c3c80e6

Please sign in to comment.