"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pkg/provider/kv/zk/zk.go" between
traefik-v2.3.2.src.tar.gz and traefik-v2.3.3.src.tar.gz

About: Traefik is a cloud native edge router, a reverse proxy and load balancer for HTTP and TCP-based applications.

zk.go  (traefik-v2.3.2.src):zk.go  (traefik-v2.3.3.src)
skipping to change at line 13 skipping to change at line 13
import ( import (
"github.com/abronan/valkeyrie/store" "github.com/abronan/valkeyrie/store"
"github.com/traefik/traefik/v2/pkg/provider" "github.com/traefik/traefik/v2/pkg/provider"
"github.com/traefik/traefik/v2/pkg/provider/kv" "github.com/traefik/traefik/v2/pkg/provider/kv"
) )
var _ provider.Provider = (*Provider)(nil) var _ provider.Provider = (*Provider)(nil)
// Provider holds configurations of the provider. // Provider holds configurations of the provider.
type Provider struct { type Provider struct {
kv.Provider kv.Provider `export:"true"`
} }
// SetDefaults sets the default values. // SetDefaults sets the default values.
func (p *Provider) SetDefaults() { func (p *Provider) SetDefaults() {
p.Provider.SetDefaults() p.Provider.SetDefaults()
p.Endpoints = []string{"127.0.0.1:2181"} p.Endpoints = []string{"127.0.0.1:2181"}
} }
// Init the provider. // Init the provider.
func (p *Provider) Init() error { func (p *Provider) Init() error {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)