From 10cbdcc34e9a380515eab842e40d9feb965c8394 Mon Sep 17 00:00:00 2001 From: kibeom lee <46297213+lkb85@users.noreply.github.com> Date: Thu, 6 Feb 2025 20:38:41 +0900 Subject: [PATCH] Fix typos in comments --- lambda/core/internalagent_states.go | 2 +- lambda/interop/sandbox_model.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lambda/core/internalagent_states.go b/lambda/core/internalagent_states.go index da7fb80..609d935 100644 --- a/lambda/core/internalagent_states.go +++ b/lambda/core/internalagent_states.go @@ -55,7 +55,7 @@ func (s *InternalAgentRegisteredState) Ready() error { return nil } -// InitError - agent can transitions to InitErrorState if it failed to initialize +// InitError - agent can transition to InitErrorState if it failed to initialize func (s *InternalAgentRegisteredState) InitError(errorType string) error { s.agent.setStateUnsafe(s.agent.InitErrorState) s.agent.errorType = errorType diff --git a/lambda/interop/sandbox_model.go b/lambda/interop/sandbox_model.go index 3011c48..54ba8c3 100644 --- a/lambda/interop/sandbox_model.go +++ b/lambda/interop/sandbox_model.go @@ -55,7 +55,7 @@ type InitSuccess struct { // InitFailure indicates that runtime/extensions initialization failed due to process exit or /error calls // In Rapid Shim, this translates to either a DONE or a DONEFAIL GirD message to Slicer (depending on extensions mode) -// However, even on failure, the next invoke is expected to work with a suppressed init - i.e. we init again as aprt of the invoke +// However, even on failure, the next invoke is expected to work with a suppressed init - i.e. we init again as part of the invoke type InitFailure struct { ResetReceived bool // indicates if failure happened due to a reset received RequestReset bool // Indicates whether reset should be requested on init failure