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.
1 parent b08409c commit b901436Copy full SHA for b901436
1 file changed
openstack_dashboard/api/placement.py
@@ -10,7 +10,6 @@
10
# License for the specific language governing permissions and limitations
11
# under the License.
12
13
-from django.conf import settings
14
from keystoneauth1 import adapter
15
from keystoneauth1 import identity
16
from keystoneauth1 import session
@@ -42,15 +41,7 @@ def make_adapter(request):
42
41
project_name=request.user.project_name,
43
project_domain_name=request.user.domain_id,
44
)
45
- verify = True
46
- if settings.OPENSTACK_SSL_NO_VERIFY:
47
- verify = False
48
- elif settings.OPENSTACK_SSL_CACERT:
49
- verify = settings.OPENSTACK_SSL_CACERT
50
- return Adapter(
51
- session.Session(auth=auth, verify=verify),
52
- api_version="placement 1.6",
53
- )
+ return Adapter(session.Session(auth=auth), api_version="placement 1.6")
54
55
56
def _get_json(request, path):
0 commit comments