mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #14892 from mesosphere/sttts-fix-status-hostname-logic
Auto commit by PR queue bot
This commit is contained in:
commit
6f4bcd5fe2
@ -397,7 +397,7 @@ func (k *KubernetesScheduler) StatusUpdate(driver bindings.SchedulerDriver, task
|
||||
} // else, we don't really care about FINISHED tasks that aren't registered
|
||||
return
|
||||
}
|
||||
if hostName := k.slaveHostNames.HostName(taskStatus.GetSlaveId().GetValue()); hostName != "" {
|
||||
if hostName := k.slaveHostNames.HostName(taskStatus.GetSlaveId().GetValue()); hostName == "" {
|
||||
// a registered task has an update reported by a slave that we don't recognize.
|
||||
// this should never happen! So we don't reconcile it.
|
||||
log.Errorf("Ignore status %+v because the slave does not exist", taskStatus)
|
||||
|
Loading…
Reference in New Issue
Block a user