From 31e128d7f5bd5bebbf91dd598ba77cb522761369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 2 Jun 2022 16:19:26 +0200 Subject: [PATCH] OAPI: remove `shutdown` worker state Remove the `shutdown` worker state. It was only used in Flamenco 2 to signal to the worker that it should go offline. In other words, it didn't use the target state in the request. As of this change, just send `offline` as the requested state for the worker if you want it to go offline. --- pkg/api/flamenco-openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/flamenco-openapi.yaml b/pkg/api/flamenco-openapi.yaml index 2905e03e..31e05473 100644 --- a/pkg/api/flamenco-openapi.yaml +++ b/pkg/api/flamenco-openapi.yaml @@ -777,7 +777,7 @@ components: WorkerStatus: type: string - enum: [starting, awake, asleep, error, shutdown, testing, offline] + enum: [starting, awake, asleep, error, testing, offline] WorkerSignOn: type: object