diff options
author | Manuel Hutter <manuel@hutter.io> | 2016-10-14 22:39:21 +0200 |
---|---|---|
committer | Manuel Hutter <manuel@hutter.io> | 2016-10-14 22:39:21 +0200 |
commit | b9949de79f4663f8cde6ecd8beb7eebf3aeb3ca4 (patch) | |
tree | 1035d948f7dbce6d4187afb8badeb556963702de | |
parent | bef26dc9429b3c450c572850544d4e10e3e9ad2c (diff) | |
download | openshift-b9949de79f4663f8cde6ecd8beb7eebf3aeb3ca4.tar.gz openshift-b9949de79f4663f8cde6ecd8beb7eebf3aeb3ca4.tar.bz2 openshift-b9949de79f4663f8cde6ecd8beb7eebf3aeb3ca4.tar.xz openshift-b9949de79f4663f8cde6ecd8beb7eebf3aeb3ca4.zip |
Do not error on node labels set too non-string values.
see #2602
-rw-r--r-- | filter_plugins/oo_filters.py | 2 |
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): |