Skip to content

Commit

Permalink
Init metadata client (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
nabokihms authored May 7, 2023
1 parent afc77fa commit afc6e2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ func (c *client) Init() error {
return err
}

c.metadataClient, err = metadata.NewForConfig(config)
if err != nil {
return err
}

if c.metricStorage != nil {
metrics.Register(
metrics.RegisterOpts{
Expand Down

0 comments on commit afc6e2e

Please sign in to comment.