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