remove dead code

Kubernetes-commit: 0801ded4252684c47d8a50700f9f5ff8ff88b964
This commit is contained in:
deads2k 2017-07-07 09:12:29 -04:00 committed by Kubernetes Publisher
parent 847cceef55
commit 4d6d8e1ac1

View File

@ -298,9 +298,9 @@ func (versionedParameterEncoderWithV1Fallback) DecodeParameters(parameters url.V
}
// VersionedParameterEncoderWithV1Fallback is useful for encoding query
// parameters for thirdparty resources. It tries to convert object to the
// parameters for custom resources. It tries to convert object to the
// specified version before converting it to query parameters, and falls back to
// converting to v1 if the object is not registered in the specified version.
// For the record, currently API server always treats query parameters sent to a
// thirdparty resource endpoint as v1.
// custom resource endpoint as v1.
var VersionedParameterEncoderWithV1Fallback runtime.ParameterCodec = versionedParameterEncoderWithV1Fallback{}