mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
use package from out value
This commit is contained in:
parent
72db123025
commit
26d80cdb7f
@ -195,8 +195,8 @@ func (g *conversionGenerator) generateConversionsForMap(inType, outType reflect.
|
|||||||
}
|
}
|
||||||
inValue := inType.Elem()
|
inValue := inType.Elem()
|
||||||
outValue := outType.Elem()
|
outValue := outType.Elem()
|
||||||
g.addImportByPath(inKey.PkgPath())
|
g.addImportByPath(inValue.PkgPath())
|
||||||
g.addImportByPath(outKey.PkgPath())
|
g.addImportByPath(outValue.PkgPath())
|
||||||
if err := g.generateConversionsBetween(inValue, outValue); err != nil {
|
if err := g.generateConversionsBetween(inValue, outValue); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user