Skip to content

Commit

Permalink
Upgrade Consul client to v1.27 (VPS-10853)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekempf-vsco committed Jan 29, 2024
1 parent 1a98e40 commit 7595a22
Show file tree
Hide file tree
Showing 4 changed files with 238 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.14
go-version: 1.18
- name: Run tests
run: script/test
- name: Build dcdr
Expand Down
2 changes: 1 addition & 1 deletion cli/api/stores/consul/consul_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package consul

import (
"github.com/hashicorp/consul/api"
"github.com/hashicorp/consul/watch"
"github.com/hashicorp/consul/api/watch"
"github.com/vsco/dcdr/cli/api/stores"
"github.com/vsco/dcdr/cli/printer"
"github.com/vsco/dcdr/config"
Expand Down
49 changes: 30 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,34 +1,45 @@
module github.com/vsco/dcdr

go 1.14
go 1.18

require (
github.com/PagerDuty/godspeed v0.0.0-20180224001232-122876cde329 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/coreos/etcd v3.0.0-beta.0.0.20160528191156-a86ae1d96912+incompatible
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fatih/color v0.0.0-20160317093153-533cd7fd8a85
github.com/fatih/color v1.14.1
github.com/fsnotify/fsnotify v1.3.0
github.com/garyburd/redigo v1.0.1-0.20160525165706-b8dc90050f24
github.com/gorilla/context v0.0.0-20160525203319-aed02d124ae4 // indirect
github.com/gorilla/handlers v0.0.0-20160410185317-66e6c6f01d8d
github.com/gorilla/mux v0.0.0-20160525140913-bd09be08ed43
github.com/hashicorp/consul v0.6.5-0.20160317180627-0e41fa5340de
github.com/hashicorp/go-cleanhttp v0.0.0-20160217214820-875fb671b3dd // indirect
github.com/hashicorp/go-msgpack v1.1.5 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/consul/api v1.27.0
github.com/hashicorp/hcl v0.0.0-20160119202737-578dd9746824
github.com/hashicorp/serf v0.7.1-0.20160124182025-e4ec8cc423bb // indirect
github.com/mattn/go-colorable v0.0.0-20160220075935-9cbef7c35391 // indirect
github.com/mattn/go-isatty v0.0.0-20151211000621-56b76bdf51f7 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rodaine/table v0.0.0-20151010055857-c35ded4ccfec
github.com/stretchr/testify v1.1.4-0.20160305165446-6fe211e49392
github.com/stretchr/testify v1.8.3
github.com/theckman/godspeed v0.0.0-20160207214103-ef757b820a7d
github.com/tucnak/climax v0.0.0-20160110101300-4c021a579dda
github.com/ugorji/go v0.0.0-20160328060740-a396ed22fc04 // indirect
github.com/vsco/http-test v0.0.0-20160424235822-3e41d6201903
golang.org/x/net v0.0.0-20190311183353-d8887717615a
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
golang.org/x/net v0.17.0
)

require (
github.com/PagerDuty/godspeed v0.0.0-20180224001232-122876cde329 // indirect
github.com/armon/go-metrics v0.4.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/gorilla/context v0.0.0-20160525203319-aed02d124ae4 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-msgpack v1.1.5 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/serf v0.10.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/ugorji/go v0.0.0-20160328060740-a396ed22fc04 // indirect
golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 // indirect
golang.org/x/sys v0.15.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 7595a22

Please sign in to comment.