Skip to content

Commit 64e6b9f

Browse files
GODRIVER-1412 Fix license
1 parent e8d9a89 commit 64e6b9f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

internal/integration/handshake_test.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//
21
// Copyright (C) MongoDB, Inc. 2023-present.
2+
//
33
// Licensed under the Apache License, Version 2.0 (the "License"); you may
44
// not use this file except in compliance with the License. You may obtain
55
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
@@ -36,9 +36,11 @@ func TestHandshakeProse(t *testing.T) {
3636
ClientType(mtest.Proxy)
3737

3838
clientMetadata := func(env bson.D, info *options.DriverInfo) bson.D {
39-
driverName := "mongo-go-driver"
40-
driverVersion := version.Driver
41-
platform := runtime.Version()
39+
var (
40+
driverName = "mongo-go-driver"
41+
driverVersion = version.Driver
42+
platform = runtime.Version()
43+
)
4244

4345
if info != nil {
4446
driverName = driverName + "|" + info.Name

0 commit comments

Comments
 (0)