diff --git a/services/consumption/mgmt/2018-06-30/consumption/version.go b/services/consumption/mgmt/2018-06-30/consumption/version.go index 46d39c4543c3..0ed08331b56a 100644 --- a/services/consumption/mgmt/2018-06-30/consumption/version.go +++ b/services/consumption/mgmt/2018-06-30/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-06-30" + return "Azure-SDK-For-Go/" + Version() + " consumption/2018-06-30" } // Version returns the semantic version (see http://semver.org) of the client.