From 21a2afd4643698bafb9ba1f2e6ddbdf9fee00d89 Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Sun, 21 Aug 2022 20:41:49 -0500 Subject: [PATCH] build: go.mod should require go1.19 Since we started using atomic.Pointer, we should specify the go1.19 requirement in our go.mod files. --- api/go.mod | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/go.mod b/api/go.mod index c938957b4..12cc0c255 100644 --- a/api/go.mod +++ b/api/go.mod @@ -1,6 +1,6 @@ module github.com/hashicorp/nomad/api -go 1.18 +go 1.19 require ( github.com/docker/go-units v0.4.0 diff --git a/go.mod b/go.mod index 574e2f88f..04eb66e09 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/hashicorp/nomad -go 1.18 +go 1.19 // Pinned dependencies are noted in github.com/hashicorp/nomad/issues/11826 replace (