• Clayton Coleman's avatar
    RESTMapper should take into account multiple versions · 8bef68d4
    Clayton Coleman authored
    When a CLI command `kubectl get rc --api-version=v1beta3` is called,
    the API resource name should match v1beta3, not whatever the default
    RESTMapper version is.  This allows the correct resource name to be
    returned ("replicationcontrollers", instead of "replicationControllers").
    8bef68d4
restmapper_test.go 8.34 KB