K8s: Add error to GetRestConfig (#101147)

K8s: Add error to RestConfigProvider return values
This commit is contained in:
Todd Treece authored and GitHub committed 2025-02-21 18:07:13 +02:00
1 parent 2010c66108
commit 9e80b0f913
8 files changed
+55 -52

No files matched your search

@@ -48,10 +48,10 @@ type rcp struct {
Host string
}
func (r rcp) GetRestConfig(ctx context.Context) *clientrest.Config {
func (r rcp) GetRestConfig(ctx context.Context) (*clientrest.Config, error) {
return &clientrest.Config{
Host: r.Host,
}
}, nil
}
func TestIntegrationFolderServiceViaUnifiedStorage(t *testing.T) {