Skip to content

Commit 274f908

Browse files
authored
Fix typos detected by nightly scan (#980)
- docs/user-guide/LeaderWorkerSet-support.md: shoud -> should - internal/engines/analyzers/queueingmodel/tuner/utils.go: expextedObservations -> expectedObservations (4 occurrences) Note: PNGs in test/benchmark/config.go is correct (plural of PNG), not a typo. Closes #972
1 parent 79e72a8 commit 274f908

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/user-guide/LeaderWorkerSet-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ There's no additional configuration needed in WVA controller to enable LWS suppo
2828
```
2929
2026-03-21T09:02:09-04:00 INFO setup cmd/main.go:202 LeaderWorkerSet CRD detected - support enabled
3030
```
31-
Otherwise, the log shoud contain:
31+
Otherwise, the log should contain:
3232
```
3333
2026-03-21T09:13:31-04:00 INFO setup cmd/main.go:204 LeaderWorkerSet CRD not found - support disabled (Deployment-only mode)
3434

internal/engines/analyzers/queueingmodel/tuner/utils.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ func CreateTunerConfigFromData(filterDataFromConfig *FilterData, env *Environmen
9191

9292
// Expected observations [TTFT, ITL] in milliseconds
9393
// Use actual observations from environment if valid, otherwise use typical values
94-
var expextedObservations []float64
94+
var expectedObservations []float64
9595
if env != nil && env.Valid() {
96-
expextedObservations = []float64{float64(env.AvgTTFT), float64(env.AvgITL)}
96+
expectedObservations = []float64{float64(env.AvgTTFT), float64(env.AvgITL)}
9797
} else {
98-
expextedObservations = []float64{DefaultExpectedTTFT, DefaultExpectedITL}
98+
expectedObservations = []float64{DefaultExpectedTTFT, DefaultExpectedITL}
9999
}
100100

101101
return &TunerConfigData{
@@ -107,7 +107,7 @@ func CreateTunerConfigFromData(filterDataFromConfig *FilterData, env *Environmen
107107
BoundedState: true,
108108
MinState: minState,
109109
MaxState: maxState,
110-
ExpectedObservations: expextedObservations,
110+
ExpectedObservations: expectedObservations,
111111
},
112112
}
113113
}

0 commit comments

Comments
 (0)