Skip to content

Commit

Permalink
ovn.at: Drop bash specific 'function' keyword.
Browse files Browse the repository at this point in the history
This keyword is not portable and also optional in bash.
Fixes test on FreeBSD.

CC: Miguel Angel Ajo <majopela@redhat.com>
Fixes: 508b7f9 ("ovn: l3ha, make is_chassis_active aware of gateway_chassis")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
  • Loading branch information
igsilya authored and blp committed Dec 18, 2018
1 parent ea2b622 commit 20be3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ovn.at
Expand Up @@ -9519,7 +9519,7 @@ for chassis in gw1 gw2 hv1 hv2; do
ovs-ofctl dump-flows br-int
echo "--------------------------"
done
function bfd_dump() {
bfd_dump() {
for chassis in gw1 gw2 hv1 hv2; do
as $chassis
echo "------ $chassis dump (BFD)----"
Expand Down

0 comments on commit 20be3a7

Please sign in to comment.