Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct typo in code comment #141

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lambda/core/internalagent_states.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lambda/interop/sandbox_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down