Skip to content

Commit

Permalink
CLEANUP: Remove unused CAPool from watcher config
Browse files Browse the repository at this point in the history
  • Loading branch information
ShimmerGlass committed Oct 1, 2020
1 parent ce2c21a commit 9943320
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions consul/config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package consul

import (
"crypto/x509"
"fmt"
"reflect"
"time"
Expand All @@ -10,7 +9,6 @@ import (
type Config struct {
ServiceName string
ServiceID string
CAsPool *x509.CertPool
Downstream Downstream
Upstreams []Upstream
}
Expand Down
1 change: 0 additions & 1 deletion consul/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,6 @@ func (w *Watcher) genCfg() Config {
config := Config{
ServiceName: w.serviceName,
ServiceID: w.service,
CAsPool: w.certCAPool,
Downstream: Downstream{
LocalBindAddress: w.downstream.LocalBindAddress,
LocalBindPort: w.downstream.LocalBindPort,
Expand Down

0 comments on commit 9943320

Please sign in to comment.