diff --git a/services/network/mgmt/2018-04-01/network/version.go b/services/network/mgmt/2018-04-01/network/version.go index 532dfd965068..f421389936cb 100644 --- a/services/network/mgmt/2018-04-01/network/version.go +++ b/services/network/mgmt/2018-04-01/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/2018-04-01" + return "Azure-SDK-For-Go/" + Version() + " network/2018-04-01" } // Version returns the semantic version (see http://semver.org) of the client.