Don't pass empty action strings to ceilometer

Note: this only really happens when using the cloud watch
resource template.

Partial-bug: #1373247
Change-Id: I084d28dfbbd0f2d7a6a18a09600f86880fa394d5
This commit is contained in:
Angus Salkeld 2014-09-25 15:30:46 +10:00
parent b0903a5598
commit 3f73f82a0d

View File

@ -84,6 +84,7 @@ def actions_to_urls(stack, properties):
url = stack[act].FnGetAtt('AlarmUrl')
kwargs[k].append(url)
else:
if act:
kwargs[k].append(act)
else:
kwargs[k] = v