summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-01-21 21:21:46 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-01-31 14:07:32 -0500
commit7b7e712c3032150ed996ee32eccae4b14bb32ebd (patch)
treefb435f5cf174736bf936f37ea11e69cb55c1848d /example
parentc93bcc978a48ab72c9c0193f89ae7eda61e2a996 (diff)
downloadphosphor-inventory-manager-7b7e712c3032150ed996ee32eccae4b14bb32ebd.tar.gz
phosphor-inventory-manager-7b7e712c3032150ed996ee32eccae4b14bb32ebd.zip
Allow multiple objects to be destroyed
Enhance the destroyObject action to take an array rather than a single path. Change-Id: Ic1de7274afc253042b590c71ca200618a6ff54d2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'example')
-rw-r--r--example/events.d/match2.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/example/events.d/match2.yaml b/example/events.d/match2.yaml
index 5fe2388..d59e4da 100644
--- a/example/events.d/match2.yaml
+++ b/example/events.d/match2.yaml
@@ -21,10 +21,10 @@ events:
type: string
value: xxxyyy
actions:
- - name: destroyObject
- path: /deleteme1
- - name: destroyObject
- path: /deleteme2
+ - name: destroyObjects
+ paths:
+ - /deleteme1
+ - /deleteme2
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud