10000 chore: appeasing linter's Very Important Suggestion · coder/coder@bc362b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit bc362b0

Browse files
committed
chore: appeasing linter's Very Important Suggestion
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
1 parent 971f65c commit bc362b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise/coderd/prebuilds/metricscollector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,5 +241,5 @@ func (mc *MetricsCollector) trackResourceReplacement(orgName, templateName, pres
241241
// Just one is enough to ruin a prebuild, but we can't know apriori which replacement would cause this.
242242
// For example, say we have 2 replacements: a docker_container and a null_resource; we don't know which one might
243243
// cause an issue (or indeed if either would), so we just track the replacement.
244-
mc.replacementsCounter[key] += 1
244+
mc.replacementsCounter[key]++
245245
}

0 commit comments

Comments
 (0)
0