diff --git a/services/resources/mgmt/2016-06-01/subscriptions/operations.go b/services/resources/mgmt/2016-06-01/subscriptions/operations.go index b197c34a598b..2f21ccfb1ee0 100644 --- a/services/resources/mgmt/2016-06-01/subscriptions/operations.go +++ b/services/resources/mgmt/2016-06-01/subscriptions/operations.go @@ -103,7 +103,6 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/resources/mgmt/2016-06-01/subscriptions/subscriptions.go b/services/resources/mgmt/2016-06-01/subscriptions/subscriptions.go index 54f66e731261..aee6fbf82e3e 100644 --- a/services/resources/mgmt/2016-06-01/subscriptions/subscriptions.go +++ b/services/resources/mgmt/2016-06-01/subscriptions/subscriptions.go @@ -108,7 +108,6 @@ func (client Client) GetSender(req *http.Request) (*http.Response, error) { func (client Client) GetResponder(resp *http.Response) (result Subscription, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -176,7 +175,6 @@ func (client Client) ListSender(req *http.Request) (*http.Response, error) { func (client Client) ListResponder(resp *http.Response) (result ListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -287,7 +285,6 @@ func (client Client) ListLocationsSender(req *http.Request) (*http.Response, err func (client Client) ListLocationsResponder(resp *http.Response) (result LocationListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/resources/mgmt/2016-06-01/subscriptions/tenants.go b/services/resources/mgmt/2016-06-01/subscriptions/tenants.go index 0a3e28830b91..f115de8c2582 100644 --- a/services/resources/mgmt/2016-06-01/subscriptions/tenants.go +++ b/services/resources/mgmt/2016-06-01/subscriptions/tenants.go @@ -103,7 +103,6 @@ func (client TenantsClient) ListSender(req *http.Request) (*http.Response, error func (client TenantsClient) ListResponder(resp *http.Response) (result TenantListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/resources/mgmt/2016-06-01/subscriptions/version.go b/services/resources/mgmt/2016-06-01/subscriptions/version.go index 599c1d099a3e..98ae08ea5add 100644 --- a/services/resources/mgmt/2016-06-01/subscriptions/version.go +++ b/services/resources/mgmt/2016-06-01/subscriptions/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 + " subscriptions/2016-06-01" + return "Azure-SDK-For-Go/" + Version() + " subscriptions/2016-06-01" } // Version returns the semantic version (see http://semver.org) of the client.