mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
nolint:staticcheck,ineffassign Convert function
This commit is contained in:
parent
35c05a3afa
commit
4bf93f318a
@ -55,7 +55,7 @@ type fakeObjectConvertor struct {
|
|||||||
apiVersion fieldpath.APIVersion
|
apiVersion fieldpath.APIVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
//nolint:staticcheck // SA4009 backwards compatibility
|
//nolint:staticcheck,ineffassign // SA4009 backwards compatibility
|
||||||
func (c *fakeObjectConvertor) Convert(in, out, context interface{}) error {
|
func (c *fakeObjectConvertor) Convert(in, out, context interface{}) error {
|
||||||
if typedValue, ok := in.(*typed.TypedValue); ok {
|
if typedValue, ok := in.(*typed.TypedValue); ok {
|
||||||
var err error
|
var err error
|
||||||
|
Loading…
Reference in New Issue
Block a user