Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d558be1

Browse files
committed
linting
1 parent 1b284ec commit d558be1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,6 +2095,7 @@ func IsLocalhost(host string) bool {
20952095
// If set to false, no database changes will be applied, however the migration version
20962096
// will be checked. If the database is not fully up to date with its migrations, then
20972097
// an error will be returned.
2098+
// nolint:revive // 'migrate' is a control flag.
20982099
func ConnectToPostgres(ctx context.Context, logger slog.Logger, migrate bool, driver string, dbURL string) (sqlDB *sql.DB, err error) {
20992100
logger.Debug(ctx, "connecting to postgresql")
21002101

0 commit comments

Comments
 (0)