Merge "Fixed a bug: replace 'startwith' with 'startswith'"

This commit is contained in:
Zuul 2020-05-30 11:36:57 +00:00 committed by Gerrit Code Review
commit 8a38c1a82b
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ class CinderAuth(object):
kwargs['service_name'] = service_name
if endpoint:
kwargs['endpoint'] = endpoint
if endpoint.startwith("https"):
if endpoint.startswith("https"):
kwargs['insecure'] = insecure
kwargs['cacert'] = cacert
try: