Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jun 29, 2021
1 parent 3b3e53b commit 03d810e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/netconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ func SaveCfgViaNetconf(addr, username, password string) error {
base.WithTransportType(transport.StandardTransportName),
)
if err != nil {
return fmt.Errorf("Could not create netconf driver for %s: %+v\n", addr, err)
return fmt.Errorf("could not create netconf driver for %s: %+v", addr, err)
}

err = d.Open()
if err != nil {
return fmt.Errorf("failed to open netconf driver for %s: %+v\n", addr, err)
return fmt.Errorf("failed to open netconf driver for %s: %+v", addr, err)
}
defer d.Close()

Expand Down

0 comments on commit 03d810e

Please sign in to comment.