Skip to content

Commit

Permalink
Fix resthandler_test in Go 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek-t committed Mar 10, 2016
1 parent 6773c2b commit 0e73783
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/apiserver/resthandler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ import (
type testPatchType struct {
unversioned.TypeMeta `json:",inline"`

testPatchSubType `json:",inline"`
TestPatchSubType `json:",inline"`
}

type testPatchSubType struct {
// We explicitly make it public as private types doesn't
// work correctly with json inlined types.
type TestPatchSubType struct {
StringField string `json:"theField"`
}

Expand Down

0 comments on commit 0e73783

Please sign in to comment.