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

story: 2007734
Change-Id: I6543fe5caf539c9b1167a7c58984b3474879e1de
(cherry picked from commit 7c96e455a9)
This commit is contained in:
chimeng 2020-05-29 16:46:54 +08:00
parent 4a95b35490
commit e358637a10
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: