Skip to content

Commit

Permalink
Merge pull request kubernetes#22785 from wojtek-t/fix_resthandler_test
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 14, 2016
2 parents 323f5c4 + 0e73783 commit b26d6cb
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 b26d6cb

Please sign in to comment.