Commit 87ebc54a8740ef9f2e1ea062f6de8718dc6a1fec

Thomas de Grivel 2018-07-10T12:38:04

clear-probed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/core/probe.lisp b/core/probe.lisp
index 2468083..5c852d6 100644
--- a/core/probe.lisp
+++ b/core/probe.lisp
@@ -120,7 +120,12 @@
     (when p
       (clear-probed r p))))
 
-(defun clear-probed (&optional (resource (localhost)) properties)
+(defmethod clear-probed% ((res resource-container) properties)
+  (call-next-method)
+  (do-resources (child) res
+    (clear-probed% child properties)))
+
+(defun clear-probed (&optional (resource *parent-resource*) properties)
   (clear-probed% resource properties))
 
 ;;  Conditions