Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: indent (#2325)

p0ny06a6193f761e
diff --git a/bin/bb/cmd/migrate.go b/bin/bb/cmd/migrate.go
index 610ef63631..3aa01309fc 100644
--- a/bin/bb/cmd/migrate.go
+++ b/bin/bb/cmd/migrate.go
@@ -40,7 +40,7 @@ func newMigrateCmd() *cobra.Command {
if err != nil {
return err
}
- // nolint:revive
+ //nolint:revive
// f.Close() is intended to be deferred to the end of the function.
defer f.Close()
sqlReaders = append(sqlReaders, f)
diff --git a/plugin/advisor/advisor.go b/plugin/advisor/advisor.go
index 2eeafe73f5..c1380fa13f 100644
--- a/plugin/advisor/advisor.go
+++ b/plugin/advisor/advisor.go
@@ -39,7 +39,7 @@ func NewStatusBySQLReviewRuleLevel(level SQLReviewRuleLevel) (Status, error) {
}
// Type is the type of advisor.
-// nolint
+//nolint
type Type string
const (
diff --git a/plugin/advisor/db/db.go b/plugin/advisor/db/db.go
index 38dfbdf1b8..f6d6da35a3 100644
--- a/plugin/advisor/db/db.go
+++ b/plugin/advisor/db/db.go
@@ -7,7 +7,7 @@ import (
)
// Type is the type of a database.
-// nolint
+//nolint
type Type string
const (
diff --git a/plugin/db/driver.go b/plugin/db/driver.go
index 288c859cc2..1ba2a6d00c 100644
--- a/plugin/db/driver.go
+++ b/plugin/db/driver.go
@@ -14,7 +14,7 @@ import (
)
// Type is the type of a database.
-// nolint
+//nolint
type Type string
const (
diff --git a/plugin/vcs/vcs.go b/plugin/vcs/vcs.go
index 2cbb0556c9..11b95aadbf 100644
--- a/plugin/vcs/vcs.go
+++ b/plugin/vcs/vcs.go
@@ -9,7 +9,7 @@ import (
)
// Type is the type of a VCS.
-// nolint
+//nolint
type Type string
const (