Browse Source

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

story: 2007734
Change-Id: I6543fe5caf539c9b1167a7c58984b3474879e1de
changes/01/731701/1
chimeng 2 years ago
parent
commit
7c96e455a9
  1. 2
      octavia/common/clients.py

2
octavia/common/clients.py

@ -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:

Loading…
Cancel
Save