From 7f2666be9f86e1a37b1e16656e34c234b22deb30 Mon Sep 17 00:00:00 2001 From: Jiepeng Cao Date: Thu, 15 Sep 2022 21:31:13 +0800 Subject: [PATCH] typo for log (#2374) --- contrib/opensergo/opensergo_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/opensergo/opensergo_test.go b/contrib/opensergo/opensergo_test.go index 9f49bbeef..b63430e20 100644 --- a/contrib/opensergo/opensergo_test.go +++ b/contrib/opensergo/opensergo_test.go @@ -338,7 +338,7 @@ func TestOpenSergo(t *testing.T) { fileContent := `{"endpoint": "127.0.0.1:9090"}` err := os.WriteFile("test.json", []byte(fileContent), 0o644) if err != nil { - t.Fatalf("ioutil.WriteFile error:%s", err) + t.Fatalf("os.WriteFile error:%s", err) } confPath, err := filepath.Abs("./test.json") if err != nil {