Skip to content

Commit

Permalink
use defualt opts
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubdyszkiewicz committed Sep 26, 2024
1 parent feb4260 commit 7710098
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/server/delta/v3/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ type server struct {
}

// NewServer creates a delta xDS specific server which utilizes a ConfigWatcher and delta Callbacks.
func NewServer(ctx context.Context, config cache.ConfigWatcher, callbacks Callbacks, opts ...config.XDSOption) Server {
func NewServer(ctx context.Context, configWatcher cache.ConfigWatcher, callbacks Callbacks, opts ...config.XDSOption) Server {
s := &server{
cache: config,
cache: configWatcher,
callbacks: callbacks,
ctx: ctx,
opts: config.NewOpts(),
}

// Parse through our options
Expand Down

0 comments on commit 7710098

Please sign in to comment.