apply missing opts to api client (#5233)
#### Does this PR need a docs update or release note? - [x] ⛔ No #### Type of change - [x] 🐛 Bugfix #### Test Plan - [x] ⚡ Unit test - [x] 💚 E2E
This commit is contained in:
parent
bf52fdbe6a
commit
8bdf86bbad
@ -55,7 +55,8 @@ func makeAC(
|
|||||||
cli, err := api.NewClient(
|
cli, err := api.NewClient(
|
||||||
creds,
|
creds,
|
||||||
control.DefaultOptions(),
|
control.DefaultOptions(),
|
||||||
count.New())
|
count.New(),
|
||||||
|
opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return api.Client{}, clues.WrapWC(ctx, err, "constructing api client")
|
return api.Client{}, clues.WrapWC(ctx, err, "constructing api client")
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user