File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments