siderolabs / omni

SaaS-simple deployment of Kubernetes - on your own hardware.
Other
395 stars 23 forks source link

fix: change Transport.Address field to Transport.Address method #336

Closed DmitriyMV closed 3 weeks ago

DmitriyMV commented 3 weeks ago

With new gRPC (both gateway and modules) it uses grpc.NewClient call to create clients. It no longer support custom addresses without a passthrough: prefix. Previous fix didn't account for that in some places, so this one changes the structure of Transport to always return address in proper form for external users.

DmitriyMV commented 3 weeks ago

All tests passed rebasing on main and merging. Removing integration tags.

DmitriyMV commented 3 weeks ago

/m