Skip to content

Commit

Permalink
Merge pull request kubernetes#22521 from wojtek-t/support_go_16_in_gofmt
Browse files Browse the repository at this point in the history
Auto commit by PR queue bot
  • Loading branch information
k8s-merge-robot committed Mar 8, 2016
2 parents aaf31ac + 525d14e commit dba955e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 0 additions & 2 deletions cmd/libs/go2idl/import-boss/generators/import_restrict.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ import (
"k8s.io/kubernetes/cmd/libs/go2idl/generator"
"k8s.io/kubernetes/cmd/libs/go2idl/namer"
"k8s.io/kubernetes/cmd/libs/go2idl/types"

//"github.com/golang/glog"
)

const (
Expand Down
10 changes: 5 additions & 5 deletions cmd/libs/go2idl/parser/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@ var FooAnotherVar proto.Frobber = proto.AnotherVar
rawNamer := namer.NewRawNamer("o", nil)
_, u, o := construct(t, testFiles, testNamer)
t.Logf("\n%v\n\n", o)
args := map[string]interface{}{
"Name": testNamer.Name,
"Raw": rawNamer.Name,
}
tmpl := template.Must(
template.New("").
Funcs(
map[string]interface{}{
"Name": testNamer.Name,
"Raw": rawNamer.Name,
}).
Funcs(args).
Parse(tmplText),
)
buf := &bytes.Buffer{}
Expand Down
2 changes: 0 additions & 2 deletions pkg/kubelet/config/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import (
"k8s.io/kubernetes/pkg/apimachinery/registered"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/securitycontext"

//"github.com/ghodss/yaml"
)

func noDefault(*api.Pod) error { return nil }
Expand Down

0 comments on commit dba955e

Please sign in to comment.