mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Run a more strict formatter over the code (#11312)
* Update tooling * Run gofumpt * go mod vendor
This commit is contained in:
@@ -31,8 +31,10 @@ type TransactionalErrorInjector struct {
|
||||
}
|
||||
|
||||
// Verify ErrorInjector satisfies the correct interfaces
|
||||
var _ Backend = (*ErrorInjector)(nil)
|
||||
var _ Transactional = (*TransactionalErrorInjector)(nil)
|
||||
var (
|
||||
_ Backend = (*ErrorInjector)(nil)
|
||||
_ Transactional = (*TransactionalErrorInjector)(nil)
|
||||
)
|
||||
|
||||
// NewErrorInjector returns a wrapped physical backend to inject error
|
||||
func NewErrorInjector(b Backend, errorPercent int, logger log.Logger) *ErrorInjector {
|
||||
|
||||
Reference in New Issue
Block a user