Skip to content

Commit

Permalink
fix(registry/mdns,registry/nats): no more container.Plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
jochumdev committed Nov 10, 2024
1 parent 359dfc5 commit 1dc0c40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion registry/mdns/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func init() {
cli.Usage("Registry domain."),
))

registry.Plugins.Register(Name, ProvideRegistryMDNS)
registry.Plugins.Add(Name, ProvideRegistryMDNS)
}

// Config provides configuration for the mDNS registry.
Expand Down
2 changes: 1 addition & 1 deletion registry/nats/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func init() {
cli.Usage("Registry addresses."),
))

registry.Plugins.Register(Name, ProvideRegistryNATS)
registry.Plugins.Add(Name, ProvideRegistryNATS)
}

// Config provides configuration for the NATS registry.
Expand Down

0 comments on commit 1dc0c40

Please sign in to comment.