Merge "Correct type of HeatTemplate20161014 to cfn"
This commit is contained in:
commit
b2e02dd923
@ -1454,7 +1454,7 @@ class EngineService(service.Service):
|
|||||||
for name in mgr.names()]
|
for name in mgr.names()]
|
||||||
versions = []
|
versions = []
|
||||||
for t in _template_classes:
|
for t in _template_classes:
|
||||||
if t[1] in [cfntemplate.CfnTemplate, cfntemplate.HeatTemplate]:
|
if issubclass(t[1], cfntemplate.CfnTemplate):
|
||||||
versions.append({'version': t[0], 'type': 'cfn'})
|
versions.append({'version': t[0], 'type': 'cfn'})
|
||||||
else:
|
else:
|
||||||
versions.append({'version': t[0], 'type': 'hot'})
|
versions.append({'version': t[0], 'type': 'hot'})
|
||||||
|
Loading…
Reference in New Issue
Block a user