Skip to content

Commit

Permalink
Update pkg/kubelet/pluginmanager/cache/actual_state_of_world.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
  • Loading branch information
claudiubelu and SergeyKanzhelev committed Feb 17, 2023
1 parent c1d0b1f commit be5921c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/kubelet/pluginmanager/cache/actual_state_of_world.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be5921c

Please sign in to comment.