Commit 74fbbe8e authored by Silvery Fu's avatar Silvery Fu

Fix cloning image states from node info

parent c06dcb2d
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment