Skip to content

Commit

Permalink
fix the two testing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlovelltroy committed Jan 19, 2024
1 parent f846b92 commit ea5100f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/boot-script-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand All @@ -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
}
}
Expand Down

0 comments on commit ea5100f

Please sign in to comment.