Fix object storage credential custom endpoint and resource manager regex commnet (#178)
This commit is contained in:
parent
c7effac5c7
commit
cfaf8f2605
2 changed files with 3 additions and 3 deletions
|
|
@ -70,10 +70,10 @@ func (r *credentialResource) Configure(ctx context.Context, req resource.Configu
|
|||
|
||||
var apiClient *objectstorage.APIClient
|
||||
var err error
|
||||
if providerData.PostgreSQLCustomEndpoint != "" {
|
||||
if providerData.ObjectStorageCustomEndpoint != "" {
|
||||
apiClient, err = objectstorage.NewAPIClient(
|
||||
config.WithCustomAuth(providerData.RoundTripper),
|
||||
config.WithEndpoint(providerData.PostgreSQLCustomEndpoint),
|
||||
config.WithEndpoint(providerData.ObjectStorageCustomEndpoint),
|
||||
)
|
||||
} else {
|
||||
apiClient, err = objectstorage.NewAPIClient(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue