diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-10-19 23:58:05 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-10-19 22:19:03 +0000 |
commit | bc56c9181ecbe4cb499c4f331ca362fc0d1eeca3 (patch) | |
tree | 23ebc5dbea28151f46d4d3debbc82c64a246b8c7 /docs/development/opnfvsecguide | |
parent | 8b7d1173ad3fe75e803a8ba7ca7ac89b5213bbd8 (diff) |
Update git submodules
* Update docs/submodules/fuel from branch 'master'
- lib.sh: Fix locals override in nested invocations
'wait_for' bash function is nested in another 'wait_for' call in some
places, which leads to inner calls interfering with outer calls by
overriding the locally scoped variables, including the 'attempt'
internal counter. In some cases, the outer 'wait_for' would exit
after a single attempt.
Fix that by running all contents of `wait_for` inside a subshell,
which inherits outer calls variables, but does not override them
when the inner call is finished.
Change-Id: I450eda3d023af2380c61ee930071fbfc393a5645
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'docs/development/opnfvsecguide')
0 files changed, 0 insertions, 0 deletions