Skip to content

Commit 0a536b3

Browse files
authored
Merge pull request #596 from kilavvy/main
Fix Typos in Log Messages, Comments, and Documentation
2 parents f50a286 + e4bfa85 commit 0a536b3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rolling-shutter/app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ func (app *ShutterApp) deliverMessage(msg *shmsg.Message, sender common.Address)
675675
if msg.GetApology() != nil {
676676
return app.handleApologyMsg(msg.GetApology(), sender)
677677
}
678-
log.Print("Error: cannot deliver messsage: ", msg)
678+
log.Print("Error: cannot deliver message: ", msg)
679679
return makeErrorResponse("cannot deliver message")
680680
}
681681

rolling-shutter/medley/configuration/command/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package command
22

33
import "github.com/spf13/afero"
44

5-
// CommandName overwrites the CLI invokation name of the built command.
5+
// CommandName overwrites the CLI invocation name of the built command.
66
// If this option is not provided, the name returned by the Config struct's Name()
77
// method will be used.
88
func CommandName(name string) Option {

rolling-shutter/trace/trace.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type ErrorWrapper func(error) error
4343
// If additional attributes etc. should be attached to the span, this can still be done
4444
// on the returned span instance as described by the `oteltrace.Span` interface.
4545
// The returned ErrorWrapper `errWrap` can be used to report failure of the span
46-
// by simply using it as a passtrhough functio for the error. This is not required,
46+
// by simply using it as a passtrhough function for the error. This is not required,
4747
// but is helpful for observability.
4848
func StartSpan(ctx context.Context) (nctx context.Context, span oteltrace.Span, errWrap ErrorWrapper) {
4949
callerInfo := introspection.GetCallerInfo(4)

0 commit comments

Comments
 (0)