Commit 872e57b9f18644a4bab2592d42cbcdee29f9b902

Thomas de Grivel 2015-09-23T06:28:55

Probe host inside with-host.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/core/probe.lisp b/core/probe.lisp
index 0a74a78..91841f0 100644
--- a/core/probe.lisp
+++ b/core/probe.lisp
@@ -94,6 +94,10 @@
     (add-probed-properties r result)
     result))
 
+(defmethod probe ((host host) (property symbol))
+  (with-host host
+    (call-next-method)))
+
 (defmethod get-probed ((r resource) (property symbol))
   (let ((value (get-property property (probed-properties r))))
     (when (eq +undefined+ value)