From 498e5b27f7928eab29756f674a161737fe36cabf Mon Sep 17 00:00:00 2001 From: Zilong Wang Date: Tue, 14 Sep 2021 18:17:27 +0800 Subject: [PATCH] fix error string format Signed-off-by: zilong.wang --- integration/common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/common.go b/integration/common.go index 8d7b687a7..0b0804e92 100644 --- a/integration/common.go +++ b/integration/common.go @@ -58,12 +58,12 @@ func initImages(imageListFile string) { if imageListFile != "" { fileContent, err := ioutil.ReadFile(imageListFile) if err != nil { - panic(fmt.Errorf("Error reading '%v' file contents: %v", imageList, err)) + panic(fmt.Errorf("error reading '%v' file contents: %v", imageList, err)) } err = toml.Unmarshal(fileContent, &imageList) if err != nil { - panic(fmt.Errorf("Error unmarshalling '%v' TOML file: %v", imageList, err)) + panic(fmt.Errorf("error unmarshalling '%v' TOML file: %v", imageList, err)) } }