Skip to content

Fix Typos in Log Messages, Comments, and Documentation #596

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

Open
wants to merge 3 commits into
base: main
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 rolling-shutter/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ func (app *ShutterApp) deliverMessage(msg *shmsg.Message, sender common.Address)
if msg.GetApology() != nil {
return app.handleApologyMsg(msg.GetApology(), sender)
}
log.Print("Error: cannot deliver messsage: ", msg)
log.Print("Error: cannot deliver message: ", msg)
return makeErrorResponse("cannot deliver message")
}

Expand Down
2 changes: 1 addition & 1 deletion rolling-shutter/medley/configuration/command/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package command

import "github.com/spf13/afero"

// CommandName overwrites the CLI invokation name of the built command.
// CommandName overwrites the CLI invocation name of the built command.
// If this option is not provided, the name returned by the Config struct's Name()
// method will be used.
func CommandName(name string) Option {
Expand Down
2 changes: 1 addition & 1 deletion rolling-shutter/trace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type ErrorWrapper func(error) error
// If additional attributes etc. should be attached to the span, this can still be done
// on the returned span instance as described by the `oteltrace.Span` interface.
// The returned ErrorWrapper `errWrap` can be used to report failure of the span
// by simply using it as a passtrhough functio for the error. This is not required,
// by simply using it as a passtrhough function for the error. This is not required,
// but is helpful for observability.
func StartSpan(ctx context.Context) (nctx context.Context, span oteltrace.Span, errWrap ErrorWrapper) {
callerInfo := introspection.GetCallerInfo(4)
Expand Down