mirror of
https://github.com/KevinMidboe/transatlanticTorrentExpress.git
synced 2025-10-29 18:00:19 +00:00
Changed elastic param from file to path to be more consistent with elastic fields.
This commit is contained in:
@@ -7,7 +7,7 @@ from logger import logger
|
||||
from utils import getConfig
|
||||
|
||||
def getFiles(path, host=None, user=None):
|
||||
logger.info('Getting filenames from path: {}'.format(path), es={'filename': path})
|
||||
logger.info('Getting filenames from path: {}'.format(path), es={'path': path})
|
||||
if (host and user):
|
||||
cmd = "ssh {}@{} ls '{}'".format(user, host, path)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user