Skip to content

Commit

Permalink
fix(bigtable): use internal.Version that is auto-updated for UA (#5679)
Browse files Browse the repository at this point in the history
Fixes: #3330
  • Loading branch information
codyoss committed Feb 22, 2022
1 parent 5af548b commit bd2c600
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bigtable/doc.go
Expand Up @@ -99,6 +99,8 @@ that have already been processed.
*/
package bigtable // import "cloud.google.com/go/bigtable"

import "cloud.google.com/go/bigtable/internal"

// Scope constants for authentication credentials. These should be used when
// using credential creation functions such as oauth.NewServiceAccountFromFile.
const (
Expand All @@ -118,7 +120,7 @@ const (

// clientUserAgent identifies the version of this package.
// It should be the same as https://pkg.go.dev/cloud.google.com/go/bigtable.
const clientUserAgent = "cbt-go/v1.6.0"
var clientUserAgent = "cbt-go/v" + internal.Version

// resourcePrefixHeader is the name of the metadata header used to indicate
// the resource being operated on.
Expand Down

0 comments on commit bd2c600

Please sign in to comment.