From 7c96e455a9f7818cb2c5c16ed12120e719f8d992 Mon Sep 17 00:00:00 2001 From: chimeng Date: Fri, 29 May 2020 16:46:54 +0800 Subject: [PATCH] Fixed a bug: replace 'startwith' with 'startswith' story: 2007734 Change-Id: I6543fe5caf539c9b1167a7c58984b3474879e1de --- octavia/common/clients.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octavia/common/clients.py b/octavia/common/clients.py index 08d57aacdb..4b24d5cc9e 100644 --- a/octavia/common/clients.py +++ b/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: