CC-2279: Upgrade script for converting stor directory to new format
-refactoring...
This commit is contained in:
parent
29869c175a
commit
75e56034e4
3 changed files with 10 additions and 15 deletions
|
@ -64,7 +64,7 @@ try:
|
|||
|
||||
|
||||
wm = WatchManager()
|
||||
mmc = MediaMonitorCommon(config, wm)
|
||||
mmc = MediaMonitorCommon(config)
|
||||
pe = AirtimeProcessEvent(queue=multi_queue, airtime_config=config, wm=wm, mmc=mmc)
|
||||
|
||||
bootstrap = AirtimeMediaMonitorBootstrap(logger, pe, api_client, mmc)
|
||||
|
@ -80,7 +80,7 @@ try:
|
|||
processes.append(p)
|
||||
p.start()
|
||||
|
||||
wdd = mmc.watch_directory(storage_directory)
|
||||
wdd = notifier.watch_directory(storage_directory)
|
||||
logger.info("Added watch to %s", storage_directory)
|
||||
logger.info("wdd result %s", wdd[storage_directory])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue