Applied comments from the review

This commit is contained in:
Piotr Szczesniak
2016-02-18 07:18:37 +01:00
parent 2b614179c7
commit c02e966d65
3 changed files with 2 additions and 3 deletions

View File

@@ -168,7 +168,6 @@ func (c *codec) Decode(data []byte, defaultGVK *unversioned.GroupVersionKind, in
targetGV.Group = group
targetGV.Version = runtime.APIVersionInternal
} else {
fmt.Printf("looking for %v in %#v\n", group, c.decodeVersion)
gv, ok := c.decodeVersion[group]
if !ok {
// unknown objects are left in their original version