Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul committed Jan 16, 2024
1 parent 5a1ad24 commit a78639b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion discovery/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ func (r *defaultClientRegistrationManager) refresh(ctx context.Context, interval
}
}


// clientUpdater is responsible for updating the presentations for the given services, at the given interval.
// Callers should only call update().
type clientUpdater struct {
Expand Down
2 changes: 1 addition & 1 deletion discovery/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func DefaultConfig() Config {
return Config{
Server: ServerConfig{},
Client: ClientConfig{
UpdateInterval: 10 * time.Minute,
UpdateInterval: 10 * time.Minute,
RegistrationRefreshInterval: 10 * time.Minute,
},
}
Expand Down
4 changes: 2 additions & 2 deletions discovery/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func New(storageInstance storage.Engine, vcrInstance vcr.VCR, documentOwner mana
m := &Module{
storageInstance: storageInstance,
vcrInstance: vcrInstance,
documentOwner: documentOwner,
documentOwner: documentOwner,
}
m.ctx, m.cancel = context.WithCancel(context.Background())
m.routines = new(sync.WaitGroup)
Expand All @@ -90,7 +90,7 @@ type Module struct {
allDefinitions map[string]ServiceDefinition
vcrInstance vcr.VCR
documentOwner management.DocumentOwner
clientUpdater *clientUpdater
clientUpdater *clientUpdater
ctx context.Context
cancel context.CancelFunc
routines *sync.WaitGroup
Expand Down

0 comments on commit a78639b

Please sign in to comment.