Skip to content

Commit 5e251ac

Browse files
committed
fix: lint
1 parent b12590c commit 5e251ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/data/database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ func (r *databaseRepo) Comment(req *request.DatabaseComment) error {
250250
defer operator.Close()
251251
return operator.(*db.Postgres).DatabaseComment(req.Name, req.Comment)
252252
default:
253-
return fmt.Errorf(r.t.Get("%s does not support database comment", server.Type))
253+
return errors.New(r.t.Get("%s does not support database comment", server.Type))
254254
}
255255
}
256256

0 commit comments

Comments
 (0)