Skip to content

Commit

Permalink
Update pkg/dbclient/client.go
Browse files Browse the repository at this point in the history
Co-authored-by: Drew Wells <dwells@infoblox.com>
  • Loading branch information
leandrorichardtoledo and drewwells authored Oct 31, 2024
1 parent 696bce0 commit 2570412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dbclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ func (pc *client) RevokeAccessToRole(username, rolename string) error {
}

func (pc *client) Close() error {
var err error
var errs []error

Check failure on line 964 in pkg/dbclient/client.go

View workflow job for this annotation

GitHub Actions / test

declared and not used: errs

if pc.DB != nil {
if dbErr := pc.DB.Close(); dbErr != nil {
Expand Down

0 comments on commit 2570412

Please sign in to comment.