mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 04:18:07 +00:00
shutdown missing scalesets during resize (#860)
This commit is contained in:
@ -468,6 +468,10 @@ class Scaleset(BASE_SCALESET, ORMMixin):
|
|||||||
SCALESET_LOG_PREFIX + "scaleset is unavailable. scaleset_id:%s",
|
SCALESET_LOG_PREFIX + "scaleset is unavailable. scaleset_id:%s",
|
||||||
self.scaleset_id,
|
self.scaleset_id,
|
||||||
)
|
)
|
||||||
|
# if the scaleset is missing, this is an indication the scaleset
|
||||||
|
# was manually deleted, rather than having OneFuzz delete it. As
|
||||||
|
# such, we should go thruogh the process of deleting it.
|
||||||
|
self.set_shutdown(now=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
if size == self.size:
|
if size == self.size:
|
||||||
|
Reference in New Issue
Block a user