Skip to content

Commit

Permalink
Update ha/lock.go
Browse files Browse the repository at this point in the history
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
  • Loading branch information
Juanadelacuesta and lgfa29 committed Aug 1, 2023
1 parent 70034d8 commit 9f95138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (hc *HALockController) maintainLease(ctx context.Context) error {
hc.logger.Debug("renewing lease")
err := hc.lock.Renew(ctx)
if err != nil {
return err
return fmt.Errorf("failed to renew lock lease: %v", err)

Check failure on line 114 in ha/lock.go

View workflow job for this annotation

GitHub Actions / Run dev

undefined: fmt (typecheck)

Check failure on line 114 in ha/lock.go

View workflow job for this annotation

GitHub Actions / Run tests

undefined: fmt

Check failure on line 114 in ha/lock.go

View workflow job for this annotation

GitHub Actions / Run tests

undefined: fmt
}
}
}
Expand Down

0 comments on commit 9f95138

Please sign in to comment.