diff options
author | Andy Grover <agrover@redhat.com> | 2014-05-03 12:09:29 -0700 |
---|---|---|
committer | Andy Grover <agrover@redhat.com> | 2014-05-03 12:09:29 -0700 |
commit | a34dfdfcf41746413d6d9b7af45651fb05785c3e (patch) | |
tree | b0e33d430fbdaf98471423ef974f656cf44f2dce | |
parent | e20b1d091751bc0b8474bfe035bd611ae29be255 (diff) | |
download | rtslib-fb-a34dfdfcf41746413d6d9b7af45651fb05785c3e.tar.gz |
Fix missing err_func parameter to set_attributes
Closes #50
Reported-by: Chris Fielder <shambler.qc@gmail.com>
Signed-off-by: Andy Grover <agrover@redhat.com>
-rw-r--r-- | rtslib/target.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |