Skip to content

Commit

Permalink
Add endpoint to ProviderConfig (#5178)
Browse files Browse the repository at this point in the history
  • Loading branch information
SupriyaKasten committed Mar 12, 2019
1 parent c8e9cd8 commit 327a851
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/location/location.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ func getProviderType(lType crv1alpha1.LocationType) (objectstore.ProviderType, e

func getBucket(ctx context.Context, pType objectstore.ProviderType, profile param.Profile) (objectstore.Bucket, error) {
pc := objectstore.ProviderConfig{
Type: pType,
Type: pType,
Endpoint: profile.Location.Endpoint,
SkipSSLVerify: profile.SkipSSLVerify,
}
secret, err := getOSSecret(pType, profile.Credential)
if err != nil {
Expand Down

0 comments on commit 327a851

Please sign in to comment.