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:
Keepers 2024-02-15 10:25:49 -07:00 committed by GitHub
parent bf52fdbe6a
commit 8bdf86bbad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,8 @@ func makeAC(
cli, err := api.NewClient(
creds,
control.DefaultOptions(),
count.New())
count.New(),
opts...)
if err != nil {
return api.Client{}, clues.WrapWC(ctx, err, "constructing api client")
}