diff --git a/services/batch/mgmt/2018-12-01/batch/version.go b/services/batch/mgmt/2018-12-01/batch/version.go index 5c5c5f9133e7..9e9f55394598 100644 --- a/services/batch/mgmt/2018-12-01/batch/version.go +++ b/services/batch/mgmt/2018-12-01/batch/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 + " batch/2018-12-01" + return "Azure-SDK-For-Go/" + Version() + " batch/2018-12-01" } // Version returns the semantic version (see http://semver.org) of the client.