Revert to previous commit. Fix bug in detail info

Change-Id: I35151e5a5e8e45def36b4251085e79c2503a099e
This commit is contained in:
Ekaterina Fedorova 2013-09-30 16:55:32 +04:00
parent 3c5ce205de
commit 80b7dd2b74
2 changed files with 11 additions and 4 deletions

View File

@ -58,10 +58,11 @@ class OverviewTab(tabs.Tab):
text += ' (# transforms into index number)'
detail_info['Hostname template'] = text
if not service_data.domain:
detail_info['Domain'] = 'Not in domain'
else:
detail_info['Domain'] = service_data.domain
if hasattr(service_data, 'domain'):
if not service_data.domain:
detail_info['Domain'] = 'Not in domain'
else:
detail_info['Domain'] = service_data.domain
if hasattr(service_data, 'repository'):
detail_info['Application repository'] = service_data.repository

View File

@ -66,6 +66,12 @@ forms:
Select registered in Openstack flavor. Consider that service performance
depends on this parameter.
required: false
- name: osImage
type: image
label: Instance image
description: >-
Select valid image for a service. Image should already be prepared and
registered in glance.
- name: availabilityZone
type: azone
label: Availability zone