diff options
author | Jose A. Rivera <jarrpa@redhat.com> | 2017-05-12 11:05:26 -0500 |
---|---|---|
committer | Jose A. Rivera <jarrpa@redhat.com> | 2017-05-19 11:42:59 -0500 |
commit | b0fc25ee969b0f96cbe0081528c7c0b3551a8aa1 (patch) | |
tree | 783d6001430ddf8d9ce5ef6145aa5cf3c0f24180 /roles/openshift_logging | |
parent | 963c7c90af3358014faccd0eb60f3476d14985f4 (diff) | |
download | openshift-b0fc25ee969b0f96cbe0081528c7c0b3551a8aa1.tar.gz openshift-b0fc25ee969b0f96cbe0081528c7c0b3551a8aa1.tar.bz2 openshift-b0fc25ee969b0f96cbe0081528c7c0b3551a8aa1.tar.xz openshift-b0fc25ee969b0f96cbe0081528c7c0b3551a8aa1.zip |
filter_plugins: Allow for multiple pairs in map_from_pairs()
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles/openshift_logging')
-rw-r--r-- | roles/openshift_logging/filter_plugins/openshift_logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_logging/filter_plugins/openshift_logging.py b/roles/openshift_logging/filter_plugins/openshift_logging.py index 44b0b2d48..eac086e81 100644 --- a/roles/openshift_logging/filter_plugins/openshift_logging.py +++ b/roles/openshift_logging/filter_plugins/openshift_logging.py @@ -42,7 +42,7 @@ def map_from_pairs(source, delim="="): if source == '': return dict() - return dict(source.split(delim) for item in source.split(",")) + return dict(item.split(delim) for item in source.split(",")) # pylint: disable=too-few-public-methods |