mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-14 13:33:22 +00:00
remove dead code
Kubernetes-commit: 0801ded4252684c47d8a50700f9f5ff8ff88b964
This commit is contained in:
parent
847cceef55
commit
4d6d8e1ac1
@ -298,9 +298,9 @@ func (versionedParameterEncoderWithV1Fallback) DecodeParameters(parameters url.V
|
|||||||
}
|
}
|
||||||
|
|
||||||
// VersionedParameterEncoderWithV1Fallback is useful for encoding query
|
// 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
|
// 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.
|
// 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
|
// 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{}
|
var VersionedParameterEncoderWithV1Fallback runtime.ParameterCodec = versionedParameterEncoderWithV1Fallback{}
|
||||||
|
Loading…
Reference in New Issue
Block a user