From 51e8522209492439e7fb43de3fae887877fb5f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 28 Nov 2021 16:29:55 +0100 Subject: [PATCH] last_scaled field is always set It defaults to the creation timestamp --- src/runboat/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runboat/api.py b/src/runboat/api.py index afb6129..a5a58be 100644 --- a/src/runboat/api.py +++ b/src/runboat/api.py @@ -53,7 +53,7 @@ class Build(BaseModel): webui_link: str status: models.BuildStatus created: datetime.datetime - last_scaled: Optional[datetime.datetime] + last_scaled: datetime.datetime class Config: orm_mode = True