Skip to content

Commit 8333d98

Browse files
authored
Merge pull request #3571 from ethan-daocloud/typo-terminator
Cleanup: fix some typos in code comment
2 parents e963290 + 89eae64 commit 8333d98

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

events/exchange/exchange.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ var _ events.Publisher = &Exchange{}
5050
var _ events.Forwarder = &Exchange{}
5151
var _ events.Subscriber = &Exchange{}
5252

53-
// Forward accepts an envelope to be direcly distributed on the exchange.
53+
// Forward accepts an envelope to be directly distributed on the exchange.
5454
//
5555
// This is useful when an event is forwarded on behalf of another namespace or
5656
// when the event is propagated on behalf of another publisher.

import.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func WithImportCompression() ImportOpt {
8686

8787
// Import imports an image from a Tar stream using reader.
8888
// Caller needs to specify importer. Future version may use oci.v1 as the default.
89-
// Note that unreferrenced blobs may be imported to the content store as well.
89+
// Note that unreferenced blobs may be imported to the content store as well.
9090
func (c *Client) Import(ctx context.Context, reader io.Reader, opts ...ImportOpt) ([]images.Image, error) {
9191
var iopts importOpts
9292
for _, o := range opts {

process.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type Process interface {
4444
Wait(context.Context) (<-chan ExitStatus, error)
4545
// CloseIO allows various pipes to be closed on the process
4646
CloseIO(context.Context, ...IOCloserOpts) error
47-
// Resize changes the width and heigh of the process's terminal
47+
// Resize changes the width and height of the process's terminal
4848
Resize(ctx context.Context, w, h uint32) error
4949
// IO returns the io set for the process
5050
IO() cio.IO

0 commit comments

Comments
 (0)