Skip to content

Commit

Permalink
Completed consul catalog registry
Browse files Browse the repository at this point in the history
- fix wire build
  • Loading branch information
insidieux committed Feb 2, 2021
1 parent 3b818a4 commit a44dfb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/extension/registry/consul/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package consul

import (
pkgConsul "github.com/insidieux/pinchy/pkg/core/registry/consul"
"github.com/insidieux/pinchy/pkg/core/registry/consul/catalog"

"github.com/hashicorp/consul/api"
"github.com/insidieux/pinchy/internal/extension/registry"
Expand Down Expand Up @@ -83,6 +84,6 @@ func provideAgent(c client) agent.Agent {
return c.Agent()
}

func provideCatalog(c client) *api.Catalog {
func provideCatalog(c client) catalog.Catalog {
return c.Catalog()
}

0 comments on commit a44dfb7

Please sign in to comment.