From ea5100fe73bf9690a054155f1654fa6cbb2f94fc Mon Sep 17 00:00:00 2001 From: Alex Lovell-Troy Date: Fri, 19 Jan 2024 12:28:03 -0500 Subject: [PATCH] fix the two testing errors --- cmd/boot-script-service/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/boot-script-service/main.go b/cmd/boot-script-service/main.go index 5714027..ddf3918 100644 --- a/cmd/boot-script-service/main.go +++ b/cmd/boot-script-service/main.go @@ -173,7 +173,7 @@ func sqlDefaultRetryConfig() (retryCount uint64, retryWait uint64, err error) { if envRetryCount != "" { retryCount, err = strconv.ParseUint(envRetryCount, 10, 64) if err != nil { - err = fmt.Errorf("ERROR: unable to parse SQL_RETRY_COUNT environment variable: ", err) + err = fmt.Errorf("ERROR: unable to parse SQL_RETRY_COUNT environment variable: %v", err) return kvDefaultRetryCount, kvDefaultRetryWait, err } } @@ -182,7 +182,7 @@ func sqlDefaultRetryConfig() (retryCount uint64, retryWait uint64, err error) { if envRetryWait != "" { retryWait, err = strconv.ParseUint(envRetryWait, 10, 64) if err != nil { - err = fmt.Errorf("ERROR: unable to parse SQL_RETRY_WAIT environment variable: ", err) + err = fmt.Errorf("ERROR: unable to parse SQL_RETRY_WAIT environment variable: %v", err) return kvDefaultRetryWait, kvDefaultRetryWait, err } }