mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 17:48:01 +00:00
Fix message of failed sync
From: MountVolume.SetUp failed for volume "secret-prometheus-k8s-proxy" : couldn't propagate object cache: timed out waiting for the condition To: MountVolume.SetUp failed for volume "secret-prometheus-k8s-proxy" : failed to sync secret cache: timed out waiting for the condition
This commit is contained in:
parent
74a70262c5
commit
96c41f8a1e
@ -166,7 +166,7 @@ func (c *objectCache) Get(namespace, name string) (runtime.Object, error) {
|
||||
return nil, fmt.Errorf("object %q/%q not registered", namespace, name)
|
||||
}
|
||||
if err := wait.PollImmediate(10*time.Millisecond, time.Second, item.hasSynced); err != nil {
|
||||
return nil, fmt.Errorf("couldn't propagate object cache: %v", err)
|
||||
return nil, fmt.Errorf("failed to sync %s cache: %v", c.groupResource.String(), err)
|
||||
}
|
||||
|
||||
obj, exists, err := item.store.GetByKey(c.key(namespace, name))
|
||||
|
Loading…
Reference in New Issue
Block a user