From d46bc0f846451a02fef3aa9ae0bed236d18d2b3d Mon Sep 17 00:00:00 2001 From: Hanfei Shen Date: Fri, 15 Feb 2019 09:33:18 +0800 Subject: [PATCH 1/2] Update indexlist.py --- curator/indexlist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/curator/indexlist.py b/curator/indexlist.py index 55f00967d..61404b29c 100644 --- a/curator/indexlist.py +++ b/curator/indexlist.py @@ -1215,6 +1215,7 @@ def iterate_filters(self, filter_dict): self.loggit.debug('All filters: {0}'.format(filter_dict['filters'])) for f in filter_dict['filters']: + f = f.copy() self.loggit.debug('Top of the loop: {0}'.format(self.indices)) self.loggit.debug('Un-parsed filter args: {0}'.format(f)) # Make sure we got at least this much in the configuration From 8a020053cb7bcff0157d169495efb7f9b36e1eef Mon Sep 17 00:00:00 2001 From: Hanfei Shen Date: Fri, 15 Feb 2019 09:33:57 +0800 Subject: [PATCH 2/2] Update snapshotlist.py --- curator/snapshotlist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/curator/snapshotlist.py b/curator/snapshotlist.py index 381a6fb07..7af997b87 100644 --- a/curator/snapshotlist.py +++ b/curator/snapshotlist.py @@ -504,6 +504,7 @@ def iterate_filters(self, config): self.loggit.debug('All filters: {0}'.format(config['filters'])) for f in config['filters']: + f = f.copy() self.loggit.debug('Top of the loop: {0}'.format(self.snapshots)) self.loggit.debug('Un-parsed filter args: {0}'.format(f)) self.loggit.debug('Parsed filter args: {0}'.format(