Skip to content

Commit f6a82ed

Browse files
committed
chore: fix error msg for consistency.
1 parent 11d49ec commit f6a82ed

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

informative-indexer/db/db.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func InsertFinalizeBlockEventsIgnoreConflict(ctx context.Context, dbTx Queryable
9898

9999
func GetRowCount(ctx context.Context, dbClient Queryable, table string) (int64, error) {
100100
if !isValidTableName(table) {
101-
return 0, fmt.Errorf("table name %s is invalid", table)
101+
return 0, fmt.Errorf("invalid table name: %s", table)
102102
}
103103

104104
var count int64

informative-indexer/prunner/prunner.go

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ func NewPrunner(config *PrunnerConfig) (*Prunner, error) {
5858
storageClient: storageClient,
5959
config: config,
6060
}, nil
61-
6261
}
6362

6463
func (p *Prunner) StartPruning(signalCtx context.Context) {

0 commit comments

Comments
 (0)