From 2377a2ee959fd300a0cfc6003c9c6022dbec2fd4 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Wed, 27 Mar 2024 11:51:34 -0400 Subject: [PATCH] deps: update consul-template to 0.37.4 to fix resource leak (#20234) A Nomad user reported an issue where template runner `View.poll` goroutines were being leaked when using templates with many dependencies. This resource leak was fixed in consul-template 0.37.4. Fixes: https://github.com/hashicorp/nomad/issues/20163 --- .changelog/20234.txt | 3 +++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .changelog/20234.txt diff --git a/.changelog/20234.txt b/.changelog/20234.txt new file mode 100644 index 00000000000..8727c18e0b6 --- /dev/null +++ b/.changelog/20234.txt @@ -0,0 +1,3 @@ +```release-note:bug +deps: Updated consul-template dependency to 0.37.4 to fix a resource leak +``` diff --git a/go.mod b/go.mod index 718970b68df..02b2cc91db7 100644 --- a/go.mod +++ b/go.mod @@ -44,7 +44,7 @@ require ( github.com/gosuri/uilive v0.0.4 github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 github.com/hashicorp/cap v0.2.0 - github.com/hashicorp/consul-template v0.37.2 + github.com/hashicorp/consul-template v0.37.4 github.com/hashicorp/consul/api v1.26.1 github.com/hashicorp/consul/sdk v0.15.0 github.com/hashicorp/cronexpr v1.1.2 diff --git a/go.sum b/go.sum index e3b83140813..e315e461f88 100644 --- a/go.sum +++ b/go.sum @@ -602,10 +602,10 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.4.0/go.mod h1:g5qyo/la0ALbONm6Vb github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/hashicorp/cap v0.2.0 h1:Cgr1iDczX17y0PNF5VG+bWTtDiimYL8F18izMPbWNy4= github.com/hashicorp/cap v0.2.0/go.mod h1:zb3VvIFA0lM2lbmO69NjowV9dJzJnZS89TaM9blXPJA= -github.com/hashicorp/consul-template v0.37.2 h1:9Ex0KbcuscmZzDQOPAK4/9LSiOTqIbRcwyotaIiTykk= -github.com/hashicorp/consul-template v0.37.2/go.mod h1:ckdzFLHdF/1A4L11ifxkzy3gXHeF1YbKSbXkN6W33+s= github.com/hashicorp/consul/api v1.26.1 h1:5oSXOO5fboPZeW5SN+TdGFP/BILDgBm19OrPZ/pICIM= github.com/hashicorp/consul/api v1.26.1/go.mod h1:B4sQTeaSO16NtynqrAdwOlahJ7IUDZM9cj2420xYL8A= +github.com/hashicorp/consul-template v0.37.4 h1:NBGei65WKxeaTZ3e6VJUyefITgg5fAQ6Auxar+8L2h0= +github.com/hashicorp/consul-template v0.37.4/go.mod h1:ckdzFLHdF/1A4L11ifxkzy3gXHeF1YbKSbXkN6W33+s= github.com/hashicorp/consul/sdk v0.15.0 h1:2qK9nDrr4tiJKRoxPGhm6B7xJjLVIQqkjiab2M4aKjU= github.com/hashicorp/consul/sdk v0.15.0/go.mod h1:r/OmRRPbHOe0yxNahLw7G9x5WG17E1BIECMtCjcPSNo= github.com/hashicorp/cronexpr v1.1.2 h1:wG/ZYIKT+RT3QkOdgYc+xsKWVRgnxJ1OJtjjy84fJ9A=