Skip to content

Commit

Permalink
fix another lint?
Browse files Browse the repository at this point in the history
  • Loading branch information
fahimahmedx committed Jan 10, 2025
1 parent 6b00ee4 commit 897ce30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/analyze/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
var (
version = "dev" // is set during build process
debug = os.Getenv("DEBUG") == "1"
max = common.GetEnvInt("MAX", 0)
maxEnv = common.GetEnvInt("MAX", 0)

// Helpers
log *zap.SugaredLogger
Expand Down Expand Up @@ -119,7 +119,7 @@ func analyzeV2(cCtx *cli.Context) error {
log.Infow(common.Printer.Sprintf("- Loaded %10d / %d rows", i, num), "memUsed", common.GetMemUsageHuman())
}
entries[stus[0].Hash] = &stus[0]
if i+1 == max {
if i+1 == maxEnv {
break
}
}
Expand Down

0 comments on commit 897ce30

Please sign in to comment.