Skip to content

Commit 22b8f77

Browse files
author
Alexander Furer
committed
grpc.port property is properly populated by config server client, should fix 99 and 103
1 parent 2519474 commit 22b8f77

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/autoconfigure/GRpcServerProperties.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import lombok.Getter;
55
import lombok.Setter;
66
import org.springframework.boot.context.properties.ConfigurationProperties;
7-
import org.springframework.stereotype.Component;
87
import org.springframework.util.SocketUtils;
98

109
import java.util.Optional;
@@ -15,7 +14,6 @@
1514

1615
@ConfigurationProperties("grpc")
1716
@Getter @Setter
18-
@Component("grpcProperties")
1917
public class GRpcServerProperties {
2018
public static final int DEFAULT_GRPC_PORT = 6565;
2119
/**

0 commit comments

Comments
 (0)