Skip to content

Commit

Permalink
remove most of the latest package; it should go away completely
Browse files Browse the repository at this point in the history
:100644 100644 01978de... 8c2471a... M	pkg/api/meta/restmapper.go
:100644 100644 87de942... 720ba59... M	pkg/apiserver/api_installer.go
  • Loading branch information
deads2k authored and pweil- committed Feb 12, 2016
1 parent 8edb7bb commit b59c3ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/api/meta/restmapper.go
Expand Up @@ -83,10 +83,6 @@ type DefaultRESTMapper struct {
interfacesFunc VersionInterfacesFunc
}

func (m *DefaultRESTMapper) String() string {
return fmt.Sprintf("DefaultRESTMapper{kindToPluralResource=%v}", m.kindToPluralResource)
}

var _ RESTMapper = &DefaultRESTMapper{}

// VersionInterfacesFunc returns the appropriate typer, and metadata accessor for a
Expand Down
1 change: 1 addition & 0 deletions pkg/apiserver/api_installer.go
Expand Up @@ -203,6 +203,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag

parentMapping, err := a.group.Mapper.RESTMapping(parentFQKindToRegister.GroupKind(), a.group.GroupVersion.Version)
if err != nil {
fmt.Printf("#### failed to see parent for \n%v\n", a.group.Mapper)
return nil, err
}
mapping.Scope = parentMapping.Scope
Expand Down

0 comments on commit b59c3ea

Please sign in to comment.