We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 215cd79 + cdac869 commit 77b3649Copy full SHA for 77b3649
1 file changed
openstackclient/volume/client.py
@@ -67,11 +67,15 @@ def make_client(instance):
67
# Remember interface only if it is set
68
kwargs = utils.build_kwargs_dict('endpoint_type', instance.interface)
69
70
+ endpoint_override = instance.sdk_connection.config.get_endpoint(
71
+ 'block-storage')
72
+
73
client = volume_client(
74
session=instance.session,
75
extensions=extensions,
76
http_log_debug=http_log_debug,
77
region_name=instance.region_name,
78
+ endpoint_override=endpoint_override,
79
**kwargs
80
)
81
0 commit comments