mirror of https://github.com/k3s-io/k3s
Merge pull request #17654 from mesosphere/sttts-offer-leak-on-not-compat
Auto commit by PR queue botpull/6/head
commit
aff9f6e510
|
@ -242,7 +242,7 @@ func (s *offerStorage) Add(offers []*mesos.Offer) {
|
|||
offerId := offer.Id.GetValue()
|
||||
log.V(3).Infof("Declining incompatible offer %v", offerId)
|
||||
s.declineOffer(offerId, offer.GetHostname(), metrics.OfferCompat)
|
||||
return
|
||||
continue
|
||||
}
|
||||
timed := &liveOffer{
|
||||
Offer: offer,
|
||||
|
|
Loading…
Reference in New Issue