Rename end_points to endpoints
This patch depends on the cue and cue-client patches: https://review.openstack.org/#/c/196287/ https://review.openstack.org/#/c/196289/ So these should merge before this patch. Change-Id: If8167df826bad768343912dbe44a911d1ca041aa Partial-Bug: 1439799
This commit is contained in:
parent
ff19a0bf9b
commit
17d619ef03
|
@ -64,9 +64,9 @@ class UpdateRow(tables.Row):
|
|||
|
||||
|
||||
def format_endpoints(cluster):
|
||||
if hasattr(cluster, "end_points"):
|
||||
if hasattr(cluster, "endpoints"):
|
||||
return ', '.join("%s://%s" % (endpoint['type'], endpoint['uri'])
|
||||
for endpoint in cluster.end_points)
|
||||
for endpoint in cluster.endpoints)
|
||||
return "-"
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
<dt>{% trans "Cluster Size" %}</dt>
|
||||
<dd>{{ cluster.size|default:_("-") }}</dd>
|
||||
<dt>{% trans "Endpoint" %}</dt>
|
||||
<dd>{{ cluster.end_points|join:", " |default:_("-") }}</dd>
|
||||
<dd>{{ cluster.endpoints|join:", " |default:_("-") }}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue