Merge "Amend docs with immutable property attribute."

This commit is contained in:
Jenkins 2014-08-13 17:33:26 +00:00 committed by Gerrit Code Review
commit 5e64c52c55

View File

@ -28,7 +28,6 @@ from heat.engine import support
from heat.openstack.common.gettextutils import _
global_env = environment.Environment({}, user_env=False)
@ -221,6 +220,11 @@ Resources:
para = nodes.paragraph('',
_('Can be updated without replacement.'))
definition.append(para)
elif prop.immutable:
para = nodes.paragraph('', _('Updates are not supported. '
'Resource update will fail on any '
'attempt to update this property.'))
definition.append(para)
else:
para = nodes.paragraph('', _('Updates cause replacement.'))
definition.append(para)