mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
remove loggedDeprecationWarnings from VolumePluginMgr
This commit is contained in:
parent
5bf1e95541
commit
d901df7b49
@ -22,7 +22,6 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"k8s.io/apimachinery/pkg/util/sets"
|
|
||||||
"k8s.io/klog/v2"
|
"k8s.io/klog/v2"
|
||||||
"k8s.io/mount-utils"
|
"k8s.io/mount-utils"
|
||||||
"k8s.io/utils/exec"
|
"k8s.io/utils/exec"
|
||||||
@ -418,7 +417,6 @@ type VolumePluginMgr struct {
|
|||||||
plugins map[string]VolumePlugin
|
plugins map[string]VolumePlugin
|
||||||
prober DynamicPluginProber
|
prober DynamicPluginProber
|
||||||
probedPlugins map[string]VolumePlugin
|
probedPlugins map[string]VolumePlugin
|
||||||
loggedDeprecationWarnings sets.Set[string]
|
|
||||||
Host VolumeHost
|
Host VolumeHost
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -560,7 +558,6 @@ func (pm *VolumePluginMgr) InitPlugins(plugins []VolumePlugin, prober DynamicPlu
|
|||||||
defer pm.mutex.Unlock()
|
defer pm.mutex.Unlock()
|
||||||
|
|
||||||
pm.Host = host
|
pm.Host = host
|
||||||
pm.loggedDeprecationWarnings = sets.New[string]()
|
|
||||||
|
|
||||||
if prober == nil {
|
if prober == nil {
|
||||||
// Use a dummy prober to prevent nil deference.
|
// Use a dummy prober to prevent nil deference.
|
||||||
|
Loading…
Reference in New Issue
Block a user