File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import (
21
21
"google.golang.org/api/compute/v1"
22
22
)
23
23
24
+ // Dialer type
24
25
type Dialer struct {
25
26
lister instanceLister
26
27
Original file line number Diff line number Diff line change 3
3
// license that can be found in the LICENSE file.
4
4
5
5
// The gcpdialtool command is an interactive validation tool for the
6
- // gcpdial packge .
6
+ // gcpdial package .
7
7
package main
8
8
9
9
import (
Original file line number Diff line number Diff line change 75
75
runSem chan struct {}
76
76
)
77
77
78
+ // Container type
78
79
type Container struct {
79
80
name string
80
81
@@ -88,6 +89,7 @@ type Container struct {
88
89
waitErr chan error // 1-buffered; receives error from WaitOrStop(..., cmd, ...)
89
90
}
90
91
92
+ // Close implements io.Closer.
91
93
func (c * Container ) Close () {
92
94
setContainerWanted (c .name , false )
93
95
@@ -97,6 +99,7 @@ func (c *Container) Close() {
97
99
}
98
100
}
99
101
102
+ // Wait waits command finished.
100
103
func (c * Container ) Wait () error {
101
104
err := <- c .waitErr
102
105
c .waitErr <- err
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
21
21
// Deprecated: this is the handler for the legacy /vet endpoint; use
22
22
// the /compile (compileAndRun) handler instead with the WithVet
23
23
// boolean set. This code path doesn't support modules and only exists
24
- // as a temporary compatiblity bridge to older javascript clients.
24
+ // as a temporary compatibility bridge to older javascript clients.
25
25
func vetCheck (ctx context.Context , req * request ) (* response , error ) {
26
26
return & response {}, nil
27
27
tmpDir , err := ioutil .TempDir ("" , "vet" )
You can’t perform that action at this time.
0 commit comments