Skip to content

Commit

Permalink
chore: leftover changes
Browse files Browse the repository at this point in the history
Signed-off-by: Prashant Shahi <[email protected]>
  • Loading branch information
prashant-shahi committed Jul 8, 2024
1 parent 6968867 commit 50be2f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion signoz/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,18 @@ func (p *signozProvider) Configure(ctx context.Context, req provider.ConfigureRe
}

// Create a new SigNoz client using the configuration values
client := client.NewClient(
client, err := client.NewClient(
endpoint,
accessToken,
time.Duration(httpTimeout)*time.Second,
httpMaxRetry,
p.terraformAgent,
p.version,
)
if err != nil {
resp.Diagnostics.AddError("Unable to create SigNoz API client", err.Error())
return
}

// Make the SigNoz client available during DataSource and Resource
// type Configure methods.
Expand Down

0 comments on commit 50be2f5

Please sign in to comment.