Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 21976c6

Browse files
committed
Remove go from io.Copy in internal/sync/sync.go#Version
1 parent 35ee1de commit 21976c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/sync/sync.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,11 @@ func (s Sync) Version() (string, error) {
284284
return "", err
285285
}
286286
buf := &bytes.Buffer{}
287-
go io.Copy(buf, process.Stdout())
287+
io.Copy(buf, process.Stdout())
288288

289289
err = process.Wait()
290290
if code, ok := err.(wsep.ExitError); ok {
291-
return "", fmt.Errorf("Version heck exit status: %v", code)
291+
return "", fmt.Errorf("Version check exit status: %v", code)
292292
}
293293
if err != nil {
294294
return "", fmt.Errorf("Server version mismatch")

0 commit comments

Comments
 (0)