Bumping k8s dependencies to 1.13

This commit is contained in:
Cheng Xing
2018-11-16 14:08:25 -08:00
parent 305407125c
commit b4c0b68ec7
8002 changed files with 884099 additions and 276228 deletions

View File

@@ -1,6 +1,7 @@
package parser
import (
"bytes"
"go/ast"
"go/parser"
"go/token"
@@ -93,5 +94,5 @@ func (p *Parser) Parse(fname string, isDir bool) error {
func getDefaultGoPath() (string, error) {
output, err := exec.Command("go", "env", "GOPATH").Output()
return string(output), err
return string(bytes.TrimSpace(output)), err
}