deps: upgrade to go-set/v2 (#18638)

No functional changes, just cleaning up deprecated usages that are
removed in v2 and replace one call of .Slice with .ForEach to avoid
making the intermediate copy.
This commit is contained in:
Seth Hoenig
2023-10-05 11:56:17 -05:00
committed by GitHub
parent 533f293fa8
commit e3c8700ded
53 changed files with 93 additions and 86 deletions

View File

@@ -7,7 +7,7 @@ import (
"fmt"
"strings"
"github.com/hashicorp/go-set"
"github.com/hashicorp/go-set/v2"
"github.com/hashicorp/nomad/api"
"github.com/hashicorp/nomad/api/contexts"
"github.com/mitchellh/cli"