diff --git a/services/resources/mgmt/2019-06-01/policy/version.go b/services/resources/mgmt/2019-06-01/policy/version.go index 10032e3ed295..d4895983ab83 100644 --- a/services/resources/mgmt/2019-06-01/policy/version.go +++ b/services/resources/mgmt/2019-06-01/policy/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 + " policy/2019-06-01" + return "Azure-SDK-For-Go/" + Version() + " policy/2019-06-01" } // Version returns the semantic version (see http://semver.org) of the client.