Skip to content

Commit 8c16b45

Browse files
committed
chore: fix some typos in comment
Signed-off-by: jinjingroad <jinjingroad@sina.com>
1 parent 922de93 commit 8c16b45

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

benchmarks/api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func (cfg *Config) RunBenchmark(ctx context.Context, benchmark Benchmark) error
143143

144144
iters, err := benchmark.Scenario(ctx, state)
145145
if err != nil {
146-
// The cancelation can also interrupt a scenario in
146+
// The cancellation can also interrupt a scenario in
147147
// progress.
148148
if err == context.Canceled {
149149
logger.Debug("canceled")

conf/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type Config struct {
3737
// for servicing historical queries.
3838
ArchiveURI string `koanf:"archive_uri"`
3939
// ArchiveHeightMax is the maximum height (inclusive) to query the
40-
// archvie node (ArchiveURI). If the archive node is configured
40+
// archive node (ArchiveURI). If the archive node is configured
4141
// with it's own SQL database instance, this parameter should not
4242
// be needed.
4343
ArchiveHeightMax uint64 `koanf:"archive_height_max"`

db/migrations/20220109122505_logs.up.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func (s *Storage) Upsert(ctx context.Context, value interface{}) error {
144144
return err
145145
}
146146

147-
// LogsUp does performes the 20220109122505_logs up migration.
147+
// LogsUp does performs the 20220109122505_logs up migration.
148148
func LogsUp(ctx context.Context, tx *bun.Tx) error {
149149
logger := logging.GetLogger("migration")
150150

indexer/indexer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ func (s *Service) indexingWorker() {
313313
// Start starts service.
314314
func (s *Service) Start() {
315315
// TODO/NotYawning: Non-archive nodes that have the indexer disabled
316-
// likey want to use a different notion of healthy, and probably also
316+
// likely want to use a different notion of healthy, and probably also
317317
// want to start a worker that monitors the database for changes.
318318
if s.indexingDisable {
319319
s.updateHealth(true)

0 commit comments

Comments
 (0)