summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2016-10-14 17:34:54 -0400
committerGitHub <noreply@github.com>2016-10-14 17:34:54 -0400
commit5354df0d7f89e64f62385f225c90bdc765f1544e (patch)
tree52cc93f73ef542314e124badda4f495c891c104c
parent43668dda8eb46cf98ec135d0d1a2c9fa49d530c7 (diff)
parentb9949de79f4663f8cde6ecd8beb7eebf3aeb3ca4 (diff)
downloadopenshift-5354df0d7f89e64f62385f225c90bdc765f1544e.tar.gz
openshift-5354df0d7f89e64f62385f225c90bdc765f1544e.tar.bz2
openshift-5354df0d7f89e64f62385f225c90bdc765f1544e.tar.xz
openshift-5354df0d7f89e64f62385f225c90bdc765f1544e.zip
Merge pull request #2607 from vshn/fix/2602
Do not error on node labels set too non-string values.
-rw-r--r--filter_plugins/oo_filters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter_plugins/oo_filters.py b/filter_plugins/oo_filters.py
index 5358a244e..3541d5471 100644
--- a/filter_plugins/oo_filters.py
+++ b/filter_plugins/oo_filters.py
@@ -236,7 +236,7 @@ class FilterModule(object):
if not isinstance(data, dict):
raise errors.AnsibleFilterError("|failed expects first param is a dict")
- return out_joiner.join([in_joiner.join([k, v]) for k, v in data.items()])
+ return out_joiner.join([in_joiner.join([k, str(v)]) for k, v in data.items()])
@staticmethod
def oo_ami_selector(data, image_name):