Skip to content

Commit

Permalink
GODRIVER-1412 Fix license
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez committed Nov 14, 2024
1 parent e8d9a89 commit 64e6b9f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions internal/integration/handshake_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (C) MongoDB, Inc. 2023-present.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License. You may obtain
// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Expand Down Expand Up @@ -36,9 +36,11 @@ func TestHandshakeProse(t *testing.T) {
ClientType(mtest.Proxy)

clientMetadata := func(env bson.D, info *options.DriverInfo) bson.D {
driverName := "mongo-go-driver"
driverVersion := version.Driver
platform := runtime.Version()
var (
driverName = "mongo-go-driver"
driverVersion = version.Driver
platform = runtime.Version()
)

if info != nil {
driverName = driverName + "|" + info.Name
Expand Down

0 comments on commit 64e6b9f

Please sign in to comment.