mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
add one placeholder for err in scheduelr.go
This commit is contained in:
parent
bb3887d7dd
commit
2d2e1032b4
@ -328,7 +328,7 @@ func (sched *Scheduler) bindVolumesWorker() {
|
|||||||
// The Pod is always sent back to the scheduler afterwards.
|
// The Pod is always sent back to the scheduler afterwards.
|
||||||
err := sched.config.VolumeBinder.Binder.BindPodVolumes(assumed)
|
err := sched.config.VolumeBinder.Binder.BindPodVolumes(assumed)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.V(1).Infof("Failed to bind volumes for pod \"%v/%v\"", assumed.Namespace, assumed.Name, err)
|
glog.V(1).Infof("Failed to bind volumes for pod \"%v/%v\": %v", assumed.Namespace, assumed.Name, err)
|
||||||
reason = "VolumeBindingFailed"
|
reason = "VolumeBindingFailed"
|
||||||
eventType = v1.EventTypeWarning
|
eventType = v1.EventTypeWarning
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user