Skip to content

Commit 4baec20

Browse files
committed
chore: verify github actions3
1 parent 22310b7 commit 4baec20

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
- name: checkout code
1616
uses: actions/checkout@v4
1717

18-
- name: Setup Go 1.23.2
18+
- name: Setup Go 1.23.x
1919
uses: actions/setup-go@v4
2020
with:
21-
go-version:1.23.2
21+
go-version:1.23.x
2222

2323
- name: Build
2424
run:

src/product-catalog/main.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,13 @@ func createClient(ctx context.Context, svcAddr string) (*grpc.ClientConn, error)
325325
)
326326
}
327327

328+
func createClient(ctx context.Context, svcAddr string) (*grpc.ClientConn, error) {
329+
return grpc.DialContext(ctx, svcAddr,
330+
grpc.WithTransportCredentials(insecure.NewCredentials()),
331+
grpc.WithStatsHandler(otelgrpc.NewClientHandler()),
332+
)
333+
}
334+
328335

329336

330337

0 commit comments

Comments
 (0)