Skip to content
Snippets Groups Projects
Commit a3572531 authored by Jan Mach's avatar Jan Mach
Browse files

Bug: Use passed parameter insted of instance attribute.

DEPLOY: Version bumped up to '2.8.105' to build new distribution
containing the fix.

(Redmine issue: #7121)
parent 6f2410df
No related branches found
No related tags found
No related merge requests found
......@@ -20,4 +20,4 @@ open-source project.
__author__ = "Jan Mach <jan.mach@cesnet.cz>"
__credits__ = "Pavel Kácha <pavel.kacha@cesnet.cz>, Andrea Kropáčová <andrea.kropacova@cesnet.cz>"
__version__ = "2.8.104"
__version__ = "2.8.105"
......@@ -202,7 +202,7 @@ class FilerDaemonComponent(pyzenkit.zendaemon.ZenDaemonComponent): # pylint: di
raise pyzenkit.zendaemon.ZenDaemonComponentException(msg)
def _check_workdir_writability(self, daemon, dir_name):
if not os.path.isdir(self.queue_out_dir):
if not os.path.isdir(dir_name):
msg = "Work directory '{}' does not exist".format(dir_name)
daemon.logger.error("[STATUS] Component '{}': {}".format(self.cid, msg))
raise pyzenkit.zendaemon.ZenDaemonComponentException(msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment