Skip to content

Commit

Permalink
misspell
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Jun 19, 2020
1 parent 4bedc13 commit 93f6f34
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions playground/internal/gcpdial/gcpdial.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"google.golang.org/api/compute/v1"
)

// Dialer type
type Dialer struct {
lister instanceLister

Expand Down
2 changes: 1 addition & 1 deletion playground/internal/gcpdial/gcpdialtool/gcpdialtool.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.

// The gcpdialtool command is an interactive validation tool for the
// gcpdial packge.
// gcpdial package.
package main

import (
Expand Down
3 changes: 3 additions & 0 deletions playground/sandbox/sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ var (
runSem chan struct{}
)

// Container type
type Container struct {
name string

Expand All @@ -88,6 +89,7 @@ type Container struct {
waitErr chan error // 1-buffered; receives error from WaitOrStop(..., cmd, ...)
}

// Close implements io.Closer.
func (c *Container) Close() {
setContainerWanted(c.name, false)

Expand All @@ -97,6 +99,7 @@ func (c *Container) Close() {
}
}

// Wait waits command finished.
func (c *Container) Wait() error {
err := <-c.waitErr
c.waitErr <- err
Expand Down
2 changes: 1 addition & 1 deletion playground/vet.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
// Deprecated: this is the handler for the legacy /vet endpoint; use
// the /compile (compileAndRun) handler instead with the WithVet
// boolean set. This code path doesn't support modules and only exists
// as a temporary compatiblity bridge to older javascript clients.
// as a temporary compatibility bridge to older javascript clients.
func vetCheck(ctx context.Context, req *request) (*response, error) {
return &response{}, nil
tmpDir, err := ioutil.TempDir("", "vet")
Expand Down

0 comments on commit 93f6f34

Please sign in to comment.