Skip to content

Commit

Permalink
Fix some misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
sharnoff committed Jan 30, 2023
1 parent 589899a commit 23e7b4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/agent/informant.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type InformantServer struct {
// and the value of runner.informant is updated.
updatedInformant util.CondChannelSender

// upscaleRequested is signalled whenver a valid request on /try-upscale is received, with at
// upscaleRequested is signalled whenever a valid request on /try-upscale is received, with at
// least one field set to true (i.e., at least one resource is being requested).
upscaleRequested util.CondChannelSender

Expand Down
4 changes: 2 additions & 2 deletions pkg/informant/cgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (s *CgroupState) handleCgroupSignalsLoop(config CgroupConfig) {
// determine what the correct behavior should be if a cgroup operation fails, though.
//
// FIXME: enforce a minimum wait period between requesting scale-ups (otherwise can be bad when
// memory usage is oscillating around memory.high but there aren't available resourecs)
// memory usage is oscillating around memory.high but there aren't available resources)

for {
// Wait for a new signal
Expand Down Expand Up @@ -178,7 +178,7 @@ func (s *CgroupState) handleMemoryHighEvent(config CgroupConfig) error {
case <-s.upscaleEventsRecvr.Recv():
totalWait := time.Since(startTime)
klog.Infof(
"Recieved notification of upscale after %s. Updating memory.high before thawing cgroup",
"Received notification of upscale after %s. Updating memory.high before thawing cgroup",
totalWait,
)

Expand Down

0 comments on commit 23e7b4c

Please sign in to comment.