[lnst] recipes: team: fix to work with string keys

Jiří Pírko jirka at fedoraproject.org
Thu Aug 23 07:00:54 UTC 2012


commit a64f7e5a67338eaa4fd4a3c734caeb0483350576
Author: Jiri Pirko <jiri at resnulli.us>
Date:   Thu Aug 23 09:00:04 2012 +0200

    recipes: team: fix to work with string keys
    
    Signed-off-by: Jiri Pirko <jiri at resnulli.us>

 recipes/team/sequence_ping_simple.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/recipes/team/sequence_ping_simple.xml b/recipes/team/sequence_ping_simple.xml
index d4d2adf..41d053c 100644
--- a/recipes/team/sequence_ping_simple.xml
+++ b/recipes/team/sequence_ping_simple.xml
@@ -2,7 +2,7 @@
   <command type="exec" value="sleep 4"/>
   <command machine_id="1" timeout="30" type="test" value="IcmpPing">
     <options>
-      <option name="addr" value="{$recipe['machines'][2]['netconfig'][3]['addresses'][0]}"/>
+      <option name="addr" value="{$recipe['machines']['2']['netconfig']['3']['addresses'][0]}"/>
       <option name="count" value="40"/>
       <option name="interval" value="0.2"/>
       <option name="limit_rate" value="95"/>


More information about the LNST-developers mailing list