From e7625d08566f6127acb351376797b4fdc75e3c6a Mon Sep 17 00:00:00 2001 From: Maros Ondrejicka Date: Tue, 28 Feb 2023 16:55:01 +0100 Subject: hs-test: use consistent naming convention Exported indentifiers in Go start with capital letters. Only few fields in hs-test, which are being unmarshaled from yaml are required to be exported. Every other field name or method name should start with lower-case letter, to be consistent with this naming convention. Type: test Signed-off-by: Maros Ondrejicka Change-Id: I7eab0eef9fd08a7890c77b6ce1aeb3fa4b80f3cd --- extras/hs-test/linux_iperf_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extras/hs-test/linux_iperf_test.go') diff --git a/extras/hs-test/linux_iperf_test.go b/extras/hs-test/linux_iperf_test.go index 954b54e7e8a..04556a8fe45 100644 --- a/extras/hs-test/linux_iperf_test.go +++ b/extras/hs-test/linux_iperf_test.go @@ -9,13 +9,13 @@ func (s *TapSuite) TestLinuxIperf() { stopServerCh <- struct{}{} }() - go StartServerApp(srvCh, stopServerCh, nil) + go startServerApp(srvCh, stopServerCh, nil) err := <-srvCh s.assertNil(err) s.log("server running") - ipAddress := s.netInterfaces[tapInterfaceName].IP4AddressString() - go StartClientApp(ipAddress, nil, clnCh, clnRes) + ipAddress := s.netInterfaces[tapInterfaceName].ip4AddressString() + go startClientApp(ipAddress, nil, clnCh, clnRes) s.log("client running") s.log(<-clnRes) err = <-clnCh -- cgit 1.2.3-korg