Skip to content

Commit

Permalink
update golang ci ver
Browse files Browse the repository at this point in the history
  • Loading branch information
woojoong88 committed Jul 10, 2024
1 parent f9518e6 commit 1a1a77a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export GO111MODULE=on

ONOS_PROXY_VERSION ?= latest

GOLANG_CI_VERSION := v1.52.2
GOLANG_CI_VERSION := v1.57.1

all: build docker-build

Expand Down
1 change: 1 addition & 0 deletions pkg/e2/v1beta1/balancer/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func (b *ResolverBuilder) Build(_ resolver.Target, cc resolver.ClientConn, opts
dialOpts = append(dialOpts, grpc.WithStreamInterceptor(retry.RetryingStreamClientInterceptor(retry.WithRetryOn(codes.Unavailable))))
dialOpts = append(dialOpts, grpc.WithContextDialer(opts.Dialer))

// nolint:staticcheck
topoConn, err := grpc.Dial(topoAddress, dialOpts...)
if err != nil {
return nil, err
Expand Down
1 change: 1 addition & 0 deletions pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func (m *Manager) startNorthboundServer() error {

func (m *Manager) connect(ctx context.Context) (*grpc.ClientConn, error) {
clientCreds, _ := creds.GetClientCredentials()
// nolint:staticcheck
conn, err := grpc.DialContext(ctx, fmt.Sprintf("%s:///%s", balancer.ResolverName, "onos-e2t:5150"),
grpc.WithTransportCredentials(credentials.NewTLS(clientCreds)),
grpc.WithUnaryInterceptor(retry.RetryingUnaryClientInterceptor(retry.WithRetryOn(codes.Unavailable))),
Expand Down

0 comments on commit 1a1a77a

Please sign in to comment.