kubelet: Replace deprecated pointer function

Signed-off-by: TommyStarK <thomasmilox@gmail.com>
This commit is contained in:
TommyStarK
2023-01-03 19:33:51 +01:00
parent 3aff1f97be
commit 1fcc8fbf59
11 changed files with 133 additions and 133 deletions

View File

@@ -106,7 +106,7 @@ func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots [
duration := maxHousekeepingInterval
housekeepingConfig := manager.HouskeepingConfig{
Interval: &duration,
AllowDynamic: pointer.BoolPtr(allowDynamicHousekeeping),
AllowDynamic: pointer.Bool(allowDynamicHousekeeping),
}
// Create the cAdvisor container manager.