diff --git a/services/preview/network/mgmt/2015-05-01-preview/network/version.go b/services/preview/network/mgmt/2015-05-01-preview/network/version.go index 118056ce945c..171bb1497f0f 100644 --- a/services/preview/network/mgmt/2015-05-01-preview/network/version.go +++ b/services/preview/network/mgmt/2015-05-01-preview/network/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 + " network/2015-05-01-preview" + return "Azure-SDK-For-Go/" + Version() + " network/2015-05-01-preview" } // Version returns the semantic version (see http://semver.org) of the client.