]> git.proxmox.com Git - ovs.git/commitdiff
ovn.at: Drop bash specific 'function' keyword.
authorIlya Maximets <i.maximets@samsung.com>
Tue, 18 Dec 2018 12:54:53 +0000 (15:54 +0300)
committerBen Pfaff <blp@ovn.org>
Tue, 18 Dec 2018 23:43:28 +0000 (15:43 -0800)
This keyword is not portable and also optional in bash.
Fixes test on FreeBSD.

CC: Miguel Angel Ajo <majopela@redhat.com>
Fixes: 508b7f961bd6 ("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>
tests/ovn.at

index a370738dc637e2fa310b2e6811ea8d3ccf11be1d..3b3df40e45b894c02c3af7490a169a311dee70f1 100644 (file)
@@ -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)----"