Add in the missing dry-run check for csv analytics collectors

This commit is contained in:
Jeff Bradberry
2021-04-20 09:36:29 -04:00
parent ce588a6af5
commit b9389208dd

View File

@@ -259,6 +259,7 @@ def gather(dest=None, module=None, subset=None, since=None, until=None, collecti
tgzfile = package(dest.parent, payload, until) tgzfile = package(dest.parent, payload, until)
if tgzfile is not None: if tgzfile is not None:
tarfiles.append(tgzfile) tarfiles.append(tgzfile)
if collection_type != 'dry-run':
if not ship(tgzfile): if not ship(tgzfile):
slice_succeeded, succeeded = False, False slice_succeeded, succeeded = False, False
break break