diff --git a/services/consumption/mgmt/2018-01-31/consumption/version.go b/services/consumption/mgmt/2018-01-31/consumption/version.go index 2516d6820396..ca800343282e 100644 --- a/services/consumption/mgmt/2018-01-31/consumption/version.go +++ b/services/consumption/mgmt/2018-01-31/consumption/version.go @@ -21,7 +21,7 @@ import "github.com/Azure/azure-sdk-for-go/version" // UserAgent returns the UserAgent string to use when sending http.Requests. func UserAgent() string { - return "Azure-SDK-For-Go/" + version.Number + " consumption/2018-01-31" + return "Azure-SDK-For-Go/" + Version() + " consumption/2018-01-31" } // Version returns the semantic version (see http://semver.org) of the client.