[XM] Fix missing security check in block-attach

This patch fixes an indentation error in main.py. The effect of this
bug is that block-attach does not check labels if the ACM is
active. This bug slipped in with change set 11572_:_ ad22c711ccb7
<http://xenbits.xensource.com/xen-unstable.hg?cs=ad22c711ccb7>.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
This commit is contained in:
Alastair Tse committed 2006-10-03 10:48:07 +01:00
1 parent 51568a0cbf
commit 20b5981cde
1 file changed
+1 -1
+1 -1
View File
@@ -1222,7 +1222,7 @@ def parse_block_configuration(args):
label = security.get_security_printlabel(dominfo)
else:
label = None
security.res_security_check(args[1], label)
security.res_security_check(args[1], label)
return (dom, vbd)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.