Fix cloning image states from node info

pull/8/head
Silvery Fu 2018-08-31 00:58:29 -07:00
parent c06dcb2d6a
commit 74fbbe8e52
1 changed files with 1 additions and 1 deletions

View File

@ -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 {