diff options
author | adrianvillin <avillin@cisco.com> | 2024-02-13 03:26:25 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-02-15 18:35:34 +0000 |
commit | fbf5f2b0300c654be5d1962bc207c87f49930faf (patch) | |
tree | e7c08314ecfe7af4ff15b0bf9794396bec3f96bc /extras/hs-test/tools/http_server/http_server.go | |
parent | 0ded4890beaa3aa1f36c61ff6125d19582b25391 (diff) |
hs-test: shortened interface names to avoid character limit
Type: test
Change-Id: I09df597ccb8a3c4af47b8a36010afb81df533236
Signed-off-by: adrianvillin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test/tools/http_server/http_server.go')
-rw-r--r-- | extras/hs-test/tools/http_server/http_server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/tools/http_server/http_server.go b/extras/hs-test/tools/http_server/http_server.go index 2b6512be5fd..8edbb149967 100644 --- a/extras/hs-test/tools/http_server/http_server.go +++ b/extras/hs-test/tools/http_server/http_server.go @@ -13,8 +13,8 @@ func main() { os.Exit(1) } - http.HandleFunc("/10M", func(w http.ResponseWriter, r *http.Request) { - file, _ := os.Open("10M") + http.HandleFunc("/httpTestFile", func(w http.ResponseWriter, r *http.Request) { + file, _ := os.Open("httpTestFile") defer file.Close() io.Copy(w, file) }) |