Skip to content

Commit a94c276

Browse files
committed
style: delete configure field enableLoadBalance
1 parent 904be4d commit a94c276

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

cmd/sponge/commands/generate/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
)
2828

2929
const (
30-
defaultGoModVersion = "go 1.20"
30+
defaultGoModVersion = "go 1.22"
3131

3232
// TplNameSponge name of the template
3333
TplNameSponge = "sponge"

cmd/sponge/commands/generate/template.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ grpcClient:
395395
port: 8282 # grpc service port
396396
timeout: 0 # request timeout, unit(second), if 0 means not set, if greater than 0 means set timeout, valid only for unary grpc type
397397
registryDiscoveryType: "" # registration and discovery types: consul, etcd, nacos, if empty, connecting to server using host and port
398-
enableLoadBalance: true # whether to turn on the load balancer
399398
# clientSecure parameter setting
400399
# if type="", it means no secure connection, no need to fill in any parameters
401400
# if type="one-way", it means server-side certification, only the fields 'serverName' and 'certFile' should be filled in
@@ -424,7 +423,6 @@ grpcClient:
424423
port: 8282 # grpc service port
425424
timeout: 0 # request timeout, unit(second), if 0 means not set, if greater than 0 means set timeout, valid only for unary grpc type
426425
registryDiscoveryType: "" # registration and discovery types: consul, etcd, nacos, if empty, connecting to server using host and port
427-
enableLoadBalance: true # whether to turn on the load balancer
428426
# clientSecure parameter setting
429427
# if type="", it means no secure connection, no need to fill in any parameters
430428
# if type="one-way", it means server-side certification, only the fields 'serverName' and 'certFile' should be filled in
@@ -469,7 +467,6 @@ grpcClient:
469467
port: 8282 # grpc service port
470468
timeout: 0 # request timeout, unit(second), if 0 means not set, if greater than 0 means set timeout, valid only for unary grpc type
471469
registryDiscoveryType: "" # registration and discovery types: consul, etcd, nacos, if empty, connecting to server using host and port
472-
enableLoadBalance: true # whether to turn on the load balancer
473470
# clientSecure parameter setting
474471
# if type="", it means no secure connection, no need to fill in any parameters
475472
# if type="one-way", it means server-side certification, only the fields 'serverName' and 'certFile' should be filled in

configs/serverNameExample.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ grpcClient:
4848
port: 8282 # grpc service port
4949
timeout: 0 # request timeout, unit(second), if 0 means not set, if greater than 0 means set timeout, valid only for unary grpc type
5050
registryDiscoveryType: "" # registration and discovery types: consul, etcd, nacos, if empty, connecting to server using host and port
51-
enableLoadBalance: true # whether to turn on the load balancer
5251
# clientSecure parameter setting
5352
# if type="", it means no secure connection, no need to fill in any parameters
5453
# if type="one-way", it means server-side certification, only the fields 'serverName' and 'certFile' should be filled in

0 commit comments

Comments
 (0)