@@ -131,7 +131,7 @@ func (sc *stateCheckpoint) SetMachineState(memoryMap NUMANodeMap) {
131
131
sc .cache .SetMachineState (memoryMap )
132
132
err := sc .storeState ()
133
133
if err != nil {
134
- klog .InfoS ( "Store state to checkpoint error" , "err" , err )
134
+ klog .ErrorS ( err , "Store state to checkpoint error" )
135
135
}
136
136
}
137
137
@@ -143,7 +143,7 @@ func (sc *stateCheckpoint) SetMemoryBlocks(podUID string, containerName string,
143
143
sc .cache .SetMemoryBlocks (podUID , containerName , blocks )
144
144
err := sc .storeState ()
145
145
if err != nil {
146
- klog .InfoS ( "Store state to checkpoint error" , "err " , err )
146
+ klog .ErrorS ( err , "Store state to checkpoint error" , "podUID " , podUID , "containerName" , containerName )
147
147
}
148
148
}
149
149
@@ -155,7 +155,7 @@ func (sc *stateCheckpoint) SetMemoryAssignments(assignments ContainerMemoryAssig
155
155
sc .cache .SetMemoryAssignments (assignments )
156
156
err := sc .storeState ()
157
157
if err != nil {
158
- klog .InfoS ( "Store state to checkpoint error" , "err" , err )
158
+ klog .ErrorS ( err , "Store state to checkpoint error" )
159
159
}
160
160
}
161
161
@@ -167,7 +167,7 @@ func (sc *stateCheckpoint) Delete(podUID string, containerName string) {
167
167
sc .cache .Delete (podUID , containerName )
168
168
err := sc .storeState ()
169
169
if err != nil {
170
- klog .InfoS ( "Store state to checkpoint error" , "err " , err )
170
+ klog .ErrorS ( err , "Store state to checkpoint error" , "podUID " , podUID , "containerName" , containerName )
171
171
}
172
172
}
173
173
@@ -179,6 +179,6 @@ func (sc *stateCheckpoint) ClearState() {
179
179
sc .cache .ClearState ()
180
180
err := sc .storeState ()
181
181
if err != nil {
182
- klog .InfoS ( "Store state to checkpoint error" , "err" , err )
182
+ klog .ErrorS ( err , "Store state to checkpoint error" )
183
183
}
184
184
}
0 commit comments