From 11d8fb4b16f6acee1691a649f5b7eaee2bc1b517 Mon Sep 17 00:00:00 2001 From: Chris Baker <1675087+cgbaker@users.noreply.github.com> Date: Sun, 10 May 2020 19:57:57 +0000 Subject: [PATCH 1/2] the api.ScalingEvent struct was missing the .Count field --- api/scaling.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/scaling.go b/api/scaling.go index a854b43a5..1b3c3badf 100644 --- a/api/scaling.go +++ b/api/scaling.go @@ -92,6 +92,7 @@ type TaskGroupScaleStatus struct { } type ScalingEvent struct { + Count *int64 Error bool Message string Meta map[string]interface{} From 01fa3247d6dc8660509026757172bbf6d5c5943d Mon Sep 17 00:00:00 2001 From: Chris Baker <1675087+cgbaker@users.noreply.github.com> Date: Wed, 13 May 2020 19:35:20 +0000 Subject: [PATCH 2/2] added changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc38dff47..5c862008f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ BUG FIXES: * core: job scale status endpoint was returning incorrect counts [[GH-7789](https://github.com/hashicorp/nomad/issues/7789)] * core: Fixed bugs related to periodic jobs scheduled during daylight saving transition periods [[GH-7894](https://github.com/hashicorp/nomad/issues/7894)] * core: Fixed a bug where scores for allocations were biased toward nodes with resource reservations [[GH-7730](https://github.com/hashicorp/nomad/issues/7730)] + * api: api.ScalingEvent struct was missing .Count [[GH-7915](https://github.com/hashicorp/nomad/pulls/7915)] * api: validate scale count value is not negative [[GH-7902](https://github.com/hashicorp/nomad/issues/7902)] * api: autoscaling policies should not be returned for stopped jobs [[GH-7768](https://github.com/hashicorp/nomad/issues/7768)] * client: Fixed a bug where an multi-task allocation maybe considered unhealthy if some tasks are slow to start [[GH-7944](https://github.com/hashicorp/nomad/issues/7944)]