Skip to content

Commit

Permalink
remove debug purpose output
Browse files Browse the repository at this point in the history
  • Loading branch information
adohe committed Nov 21, 2016
1 parent 3aaa687 commit b16be79
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/apiserver/api_installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag
if err != nil {
return nil, err
}
fmt.Printf("register resource handler for path: %s and the fqKind is: %v\n", path, fqKindToRegister)

versionedPtr, err := a.group.Creater.New(fqKindToRegister)
if err != nil {
Expand Down
2 changes: 0 additions & 2 deletions pkg/kubectl/resource/mapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,12 @@ func (m *Mapper) InfoForData(data []byte, source string) (*Info, error) {
return nil, fmt.Errorf("unable to decode %q: %v", source, err)
}

fmt.Printf("info for data gvk is: %v\n", gvk)
obj, versioned := versions.Last(), versions.First()
mapping, err := m.RESTMapping(gvk.GroupKind(), gvk.Version)
if err != nil {
return nil, fmt.Errorf("unable to recognize %q: %v", source, err)
}

fmt.Printf("info for data mapping is: %#v\n", mapping)
client, err := m.ClientForMapping(mapping)
if err != nil {
return nil, fmt.Errorf("unable to connect to a server to handle %q: %v", mapping.Resource, err)
Expand Down

0 comments on commit b16be79

Please sign in to comment.