fix: update constructor to use credentials.Resolver.Resolve (credentials v0.0.12 compat)#2603
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Deploy Preview for ocm-website canceled.
|
…als v0.0.12 compat) credentials v0.0.12 unified the Resolver interface to a single Resolve method returning runtime.Typed, removing the separate ResolveTyped method from v0.0.11. Update construct.go to call provider.Resolve instead of provider.ResolveTyped, and bump the credentials dependency to v0.0.12. On-behalf-of: @SAP <jakob.moeller@sap.com> Signed-off-by: Jakob Möller <contact@jakob-moeller.com> On-behalf-of: @SAP <jakob.moeller@sap.com>
dbd2c11 to
b49118b
Compare
Summary
credentials v0.0.12unified theResolverinterface to a singleResolve(ctx, identity) (runtime.Typed, error)method, removing the separateResolveTypedmethod that existed in v0.0.11constructor v0.0.8(released as part of gate 4, PR feat!: migrate constructor binding to runtime.Typed credentials #2598) still callsprovider.ResolveTypedand depends oncredentials v0.0.11constructor v0.0.8andcredentials v0.0.12This fix updates
construct.goto callprovider.Resolveand bumps the credentials dependency tov0.0.12.Dependency on
Must be released as
constructor/v0.0.9before PR #2602 (gate 5 plugin migration) can drop itsreplacedirective.