K8s: Add error to GetRestConfig (#101147)
K8s: Add error to RestConfigProvider return values
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user