fix an issue with nova extension support checking

This bug was introduced by 3acb28270a

Closes-Bug: #1805469
Change-Id: I0d5d98718e764c89451ab3829cb325a150f29724
This commit is contained in:
Adrian Turjak 2018-11-28 05:08:56 +13:00
parent 0e75e2fb80
commit e2360f9fe5
1 changed files with 1 additions and 1 deletions

View File

@ -1087,7 +1087,7 @@ def extension_supported(extension_name, request):
etc.
"""
for ext in list_extensions(request):
if ext == extension_name:
if ext.name == extension_name:
return True
return False