Skip to content

Commit 2c32ec6

Browse files
NeatGuyCodingdsyer
authored andcommitted
Fix serviceConfig within scope of copy (no need to clear first)
Signed-off-by: NeatGuyCoding <[email protected]>
1 parent df646b6 commit 2c32ec6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-grpc-spring-boot-autoconfigure/src/main/java/org/springframework/grpc/autoconfigure/client/GrpcClientProperties.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,6 @@ public ChannelConfig copy() {
349349
copy.defaultDeadline = this.defaultDeadline;
350350
copy.health.copyValuesFrom(this.getHealth());
351351
copy.ssl.copyValuesFrom(this.getSsl());
352-
copy.serviceConfig.clear();
353352
copy.serviceConfig.putAll(this.serviceConfig);
354353
return copy;
355354
}

0 commit comments

Comments
 (0)