Skip to content

Commit 6463994

Browse files
lkubbdwoz
authored andcommitted
Use grains dict directly when not traversing subdict
1 parent c2e0b57 commit 6463994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/ref/states/requisites.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ The ``onfail`` requisite is applied in the same way as ``require`` and ``watch``
563563
notify-build_failure:
564564
hipchat.send_message:
565565
- room_id: 123456
566-
- message: "Building website fail on {{ salt['grains.get']('id') }}"
566+
- message: "Building website fail on {{ grains['id'] }}"
567567
568568
569569
The default behavior of the ``onfail`` when multiple requisites are listed is

0 commit comments

Comments
 (0)