aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authordluong <dluong@redhat.com>2019-09-26 23:25:10 -0400
committerBryn M. Reeves <bmr@redhat.com>2019-10-08 15:10:51 +0100
commit26d097b117eaa16e84cb2673622a7cfc41ebda7a (patch)
tree7321a5ea3dcb9d7dcf3ab33095d19844e4dbcbd5 /README.md
parent412ece36410ed2465dfdcf4e432a872154c17c0d (diff)
downloadsos-26d097b117eaa16e84cb2673622a7cfc41ebda7a.tar.gz
[plugin] add_copy_spec handle same file diff sizelimit
This change allows add_copy_spec to handle the same file with the different size limits. For example: log = evm.log all_logs = *.log miq_log_dir = '/var/www/miq/vmdb/log/' self.add_copy_spec([ os.path.join(self.miq_log_dir, log) ], sizelimit=0) self.add_copy_spec([ os.path.join(self.miq_log_dir, x) for x in self.all_logs ]) Here, it would copy evm.log first with no sizelimit since add_copy_spec was called on 'log' first. It would then skip the next time it tries to get added from the glob contained in all_logs. Closes: #1786 Resolves: #1802 Signed-off by: David Luong <dluong@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions