diff --git a/services/iothub/mgmt/2016-02-03/devices/version.go b/services/iothub/mgmt/2016-02-03/devices/version.go index 690f33d0d966..0e07ba8cab8b 100644 --- a/services/iothub/mgmt/2016-02-03/devices/version.go +++ b/services/iothub/mgmt/2016-02-03/devices/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 + " devices/2016-02-03" + return "Azure-SDK-For-Go/" + Version() + " devices/2016-02-03" } // Version returns the semantic version (see http://semver.org) of the client.