From a34dfdfcf41746413d6d9b7af45651fb05785c3e Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Sat, 3 May 2014 12:09:29 -0700 Subject: Fix missing err_func parameter to set_attributes Closes #50 Reported-by: Chris Fielder Signed-off-by: Andy Grover --- rtslib/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtslib/target.py b/rtslib/target.py index c9ccc8e..7d05853 100644 --- a/rtslib/target.py +++ b/rtslib/target.py @@ -945,7 +945,7 @@ class NodeACL(CFSNode): err_func("Error when creating NodeACL for %s: %s" % (acl['node_wwn'], e)) return - set_attributes(acl_obj, acl.get('attributes', {})) + set_attributes(acl_obj, acl.get('attributes', {}), err_func) for mlun in acl.get('mapped_luns', []): MappedLUN.setup(tpg_obj, acl_obj, mlun, err_func) -- cgit v1.2.1