Skip to content

Commit 3326c3f

Browse files
authored
Correcting error in client initialisation. (#29)
1 parent 8f4becf commit 3326c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eppoclient/initclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func InitClient(config Config) *EppoClient {
1515
httpClient := newHttpClient(config.BaseUrl, &http.Client{Timeout: REQUEST_TIMEOUT_SECONDS}, sdkParams)
1616
configStore := newConfigurationStore(MAX_CACHE_ENTRIES)
1717
requestor := newExperimentConfigurationRequestor(*httpClient, configStore)
18-
assignmentLogger := NewAssignmentLogger()
18+
assignmentLogger := config.AssignmentLogger
1919

2020
client := newEppoClient(requestor, assignmentLogger)
2121

0 commit comments

Comments
 (0)