Skip to content

Commit

Permalink
remove etcd support
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekempf-vsco committed Mar 14, 2024
1 parent 02f1b9e commit 6b095f9
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 366 deletions.
4 changes: 2 additions & 2 deletions cli/api/resolver/storage_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (

"github.com/vsco/dcdr/cli/api/stores"
"github.com/vsco/dcdr/cli/api/stores/consul"
"github.com/vsco/dcdr/cli/api/stores/etcd"
"github.com/vsco/dcdr/cli/api/stores/redis"
"github.com/vsco/dcdr/config"
)

func LoadStore(cfg *config.Config) stores.IFace {
switch cfg.Storage {
case "etcd":
return etcd.New(cfg)
log.Fatal("etcd is no longer supported")
return nil
case "redis":
r, err := redis.New(cfg)

Expand Down
198 changes: 0 additions & 198 deletions cli/api/stores/etcd/etcd_store.go

This file was deleted.

158 changes: 0 additions & 158 deletions cli/api/stores/etcd/etcd_store_test.go

This file was deleted.

3 changes: 0 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ go 1.18

require (
github.com/DataDog/datadog-go/v5 v5.5.0
github.com/coreos/etcd v3.0.0-beta.0.0.20160528191156-a86ae1d96912+incompatible
github.com/fatih/color v1.14.1
github.com/fsnotify/fsnotify v1.3.0
github.com/garyburd/redigo v1.0.1-0.20160525165706-b8dc90050f24
Expand All @@ -16,7 +15,6 @@ require (
github.com/stretchr/testify v1.8.3
github.com/tucnak/climax v0.0.0-20160110101300-4c021a579dda
github.com/vsco/http-test v0.0.0-20160424235822-3e41d6201903
golang.org/x/net v0.17.0
)

require (
Expand All @@ -38,7 +36,6 @@ require (
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
Expand Down
Loading

0 comments on commit 6b095f9

Please sign in to comment.