Linter fixes PR 3 (#4415)
* Linter fixes * fix(bsr): update test to register TEST protocol once --------- Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com>
This commit is contained in:
1 parent
e95eda7ca2
commit
35cef97bd4
119 files changed
+365
-300
No files matched your search
@@ -528,7 +528,7 @@ func (c *InitCommand) verifyOplogIsEmpty(ctx context.Context) error {
|
||||
const op = "database.(InitCommand).verifyOplogIsEmpty"
|
||||
underlyingDB, err := c.Database.SqlDB(ctx)
|
||||
if err != nil {
|
||||
return errors.New(ctx, errors.Internal, op, "unable to retreive db", errors.WithWrap(err))
|
||||
return errors.New(ctx, errors.Internal, op, "unable to retrieve db", errors.WithWrap(err))
|
||||
}
|
||||
r := underlyingDB.QueryRowContext(c.Context, "select not exists(select 1 from oplog_entry limit 1)")
|
||||
if r.Err() != nil {
|
||||
|
||||
Reference in new issue
Block a user