fix price checking
This commit is contained in:
parent
27627853d1
commit
5c57adf60d
2 changed files with 3 additions and 2 deletions
|
@ -28,6 +28,6 @@ class SettingUseCase:
|
||||||
context['has_missing'] = True
|
context['has_missing'] = True
|
||||||
return context
|
return context
|
||||||
|
|
||||||
context['has_missing'] = True
|
context['has_missing'] = False
|
||||||
|
|
||||||
return context
|
return context
|
||||||
|
|
|
@ -2,6 +2,7 @@ from openstack_dashboard.dashboards.yuyu.cases.flavor_price_use_case import Flav
|
||||||
from openstack_dashboard.dashboards.yuyu.cases.floating_ip_price_use_case import FloatingIpPriceUseCase
|
from openstack_dashboard.dashboards.yuyu.cases.floating_ip_price_use_case import FloatingIpPriceUseCase
|
||||||
from openstack_dashboard.dashboards.yuyu.cases.image_price_use_case import ImagePriceUseCase
|
from openstack_dashboard.dashboards.yuyu.cases.image_price_use_case import ImagePriceUseCase
|
||||||
from openstack_dashboard.dashboards.yuyu.cases.router_price_use_case import RouterPriceUseCase
|
from openstack_dashboard.dashboards.yuyu.cases.router_price_use_case import RouterPriceUseCase
|
||||||
|
from openstack_dashboard.dashboards.yuyu.cases.snapshot_price_use_case import SnapshotPriceUseCase
|
||||||
from openstack_dashboard.dashboards.yuyu.cases.volume_price_use_case import VolumePriceUseCase
|
from openstack_dashboard.dashboards.yuyu.cases.volume_price_use_case import VolumePriceUseCase
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,7 +11,7 @@ def has_missing_price(request):
|
||||||
volume_price_uc = VolumePriceUseCase()
|
volume_price_uc = VolumePriceUseCase()
|
||||||
fip_price_uc = FloatingIpPriceUseCase()
|
fip_price_uc = FloatingIpPriceUseCase()
|
||||||
router_price_uc = RouterPriceUseCase()
|
router_price_uc = RouterPriceUseCase()
|
||||||
snapshot_price_uc = RouterPriceUseCase()
|
snapshot_price_uc = SnapshotPriceUseCase()
|
||||||
image_price_uc = ImagePriceUseCase()
|
image_price_uc = ImagePriceUseCase()
|
||||||
|
|
||||||
context = {
|
context = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue