Only label a resource if ACM is enabled
PATCH 1/1 Only label a resource if ACM is enabled
Only try to label resources if ACM is enabled.
Signed-off-by Stefan Berger <[email protected]>
tools/xm-test/lib/XmTestLib/acm.py +2 -0
@@ -57,6 +57,8 @@ def ACMLabelResources(resources): # Applications may label resources explicitly by calling this function def ACMLabelResource(resource, label='red'): + if not isACMEnabled(): + return if acm_verbose: print "labeling resource %s with label %s" % (resource, label) if not ACM_LABEL_RESOURCES:
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Ewan Mellor
AppliedQuoted 4 lines · Stefan Berger
Only try to label resources if ACM is enabled.
Signed-off-by Stefan Berger <[email protected]>
Applied, thanks Stefan.
Ewan.