mirror of https://github.com/k3s-io/k3s
Fix cloning image states from node info
parent
c06dcb2d6a
commit
74fbbe8e52
|
@ -393,7 +393,7 @@ func (n *NodeInfo) Clone() *NodeInfo {
|
|||
diskPressureCondition: n.diskPressureCondition,
|
||||
pidPressureCondition: n.pidPressureCondition,
|
||||
usedPorts: make(util.HostPortInfo),
|
||||
imageStates: make(map[string]*ImageStateSummary),
|
||||
imageStates: n.imageStates,
|
||||
generation: n.generation,
|
||||
}
|
||||
if len(n.pods) > 0 {
|
||||
|
|
Loading…
Reference in New Issue