Skip to content

Commit

Permalink
fix: fix the number of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-launchdarkly committed May 10, 2024
1 parent 2a112bf commit de6335d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func MakeCustomClient(sdkKey string, config Config, waitFor time.Duration) (*LDC
// your application to wait a long time before continuing execution.
if waitFor.Seconds() > highWaitForSeconds {
loggers.Warnf("Client was created was with a timeout greater than %d. "+
"We recommend a timeout of less than %d seconds", HighWaitForSeconds)
"We recommend a timeout of less than %d seconds", HighWaitForSeconds, HighWaitForSeconds)

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / Windows, Go 1.22

undefined: HighWaitForSeconds

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / Windows, Go 1.21

undefined: HighWaitForSeconds

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / Linux, Go 1.21 / Benchmarks

undefined: HighWaitForSeconds

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / Linux, Go 1.21 / Unit Tests and Coverage

undefined: HighWaitForSeconds (typecheck)

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / Linux, Go 1.21 / Unit Tests and Coverage

undefined: HighWaitForSeconds) (typecheck)

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / Linux, Go 1.22 / Benchmarks

undefined: HighWaitForSeconds

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / Linux, Go 1.22 / Unit Tests and Coverage

undefined: HighWaitForSeconds (typecheck)

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / Linux, Go 1.22 / Unit Tests and Coverage

undefined: HighWaitForSeconds) (typecheck)

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / ldotel Linux, Go 1.22

undefined: HighWaitForSeconds (typecheck)

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / ldotel Linux, Go 1.22

undefined: HighWaitForSeconds) (typecheck)

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / ldotel Linux, Go 1.21

undefined: HighWaitForSeconds (typecheck)

Check failure on line 338 in ldclient.go

View workflow job for this annotation

GitHub Actions / ldotel Linux, Go 1.21

undefined: HighWaitForSeconds) (typecheck)
}

timeout := time.After(waitFor)
Expand Down

0 comments on commit de6335d

Please sign in to comment.