diff --git a/pkg/agent/informant.go b/pkg/agent/informant.go index 7c65a7d37..65c9e2808 100644 --- a/pkg/agent/informant.go +++ b/pkg/agent/informant.go @@ -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 diff --git a/pkg/informant/cgroup.go b/pkg/informant/cgroup.go index 23d869bbb..21f0975e5 100644 --- a/pkg/informant/cgroup.go +++ b/pkg/informant/cgroup.go @@ -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 @@ -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, )