Skip to content

Commit 992b369

Browse files
Fix typo
1 parent 7c293fa commit 992b369

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

temporal-spring-boot-autoconfigure/src/main/java/io/temporal/spring/boot/autoconfigure/template/WorkflowClientOptionsTemplate.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ public WorkflowClientOptions createWorkflowClientOptions() {
6262

6363
options.setInterceptors(interceptors.toArray(new WorkflowClientInterceptor[0]));
6464

65-
if (clientCustomizer != null) {
66-
for (TemporalOptionsCustomizer<WorkflowClientOptions.Builder> customizer : clientCustomizer) {
65+
if (clientCustomizers != null) {
66+
for (TemporalOptionsCustomizer<WorkflowClientOptions.Builder> customizer :
67+
clientCustomizers) {
6768
options = customizer.customize(options);
6869
}
6970
}
@@ -78,9 +79,9 @@ public ScheduleClientOptions createScheduleClientOptions() {
7879
options.setInterceptors(scheduleClientInterceptors);
7980
}
8081

81-
if (scheduleCustomizer != null) {
82+
if (scheduleCustomizers != null) {
8283
for (TemporalOptionsCustomizer<ScheduleClientOptions.Builder> customizer :
83-
scheduleCustomizer) {
84+
scheduleCustomizers) {
8485
options = customizer.customize(options);
8586
}
8687
}

0 commit comments

Comments
 (0)