File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
memory/dynamicpolicy/state Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -137,8 +137,10 @@ func (s *cpuPluginState) SetPodEntries(podEntries PodEntries) {
137
137
defer s .Unlock ()
138
138
139
139
s .podEntries = podEntries .Clone ()
140
- klog .InfoS ("[cpu_plugin] Updated cpu plugin pod entries" ,
141
- "podEntries" , podEntries .String ())
140
+ if klog .V (6 ).Enabled () {
141
+ klog .InfoS ("[cpu_plugin] Updated cpu plugin pod entries" ,
142
+ "podEntries" , podEntries .String ())
143
+ }
142
144
}
143
145
144
146
func (s * cpuPluginState ) SetAllowSharedCoresOverlapReclaimedCores (allowSharedCoresOverlapReclaimedCores bool ) {
Original file line number Diff line number Diff line change @@ -166,8 +166,10 @@ func (s *memoryPluginState) SetPodResourceEntries(podResourceEntries PodResource
166
166
defer s .Unlock ()
167
167
168
168
s .podResourceEntries = podResourceEntries .Clone ()
169
- klog .InfoS ("[memory_plugin] Updated memory plugin pod resource entries" ,
170
- "podResourceEntries" , podResourceEntries .String ())
169
+ if klog .V (6 ).Enabled () {
170
+ klog .InfoS ("[memory_plugin] Updated memory plugin pod resource entries" ,
171
+ "podResourceEntries" , podResourceEntries .String ())
172
+ }
171
173
}
172
174
173
175
func (s * memoryPluginState ) Delete (resourceName v1.ResourceName , podUID , containerName string ) {
You can’t perform that action at this time.
0 commit comments