From 2604d7debb6842cb0f7160a418368be6556ff579 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Thu, 2 Feb 2023 17:26:19 +0200 Subject: [PATCH] Update pkg/kubelet/pluginmanager/cache/actual_state_of_world.go Co-authored-by: Sergey Kanzhelev --- pkg/kubelet/pluginmanager/cache/actual_state_of_world.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/kubelet/pluginmanager/cache/actual_state_of_world.go b/pkg/kubelet/pluginmanager/cache/actual_state_of_world.go index c61de4c4550..50b5658af04 100644 --- a/pkg/kubelet/pluginmanager/cache/actual_state_of_world.go +++ b/pkg/kubelet/pluginmanager/cache/actual_state_of_world.go @@ -54,8 +54,10 @@ type ActualStateOfWorld interface { // If a plugin does not exist with the given socket path, this is a no-op. RemovePlugin(socketPath string) - // Deprecated: PluginExistsWithCorrectTimestamp checks if the given plugin exists in the current actual - // state of world cache with the correct timestamp + // PluginExistsWithCorrectTimestamp checks if the given plugin exists in the current actual + // state of world cache with the correct timestamp. + // Deprecated: please use `PluginExistsWithCorrectUUID` instead as it provides a better + // cross-platform support PluginExistsWithCorrectTimestamp(pluginInfo PluginInfo) bool // PluginExistsWithCorrectUUID checks if the given plugin exists in the current actual