diff --git a/services/preview/billing/mgmt/2017-02-27-preview/billing/invoices.go b/services/preview/billing/mgmt/2017-02-27-preview/billing/invoices.go index 9ac4962235b6..792403d51301 100644 --- a/services/preview/billing/mgmt/2017-02-27-preview/billing/invoices.go +++ b/services/preview/billing/mgmt/2017-02-27-preview/billing/invoices.go @@ -111,7 +111,6 @@ func (client InvoicesClient) GetSender(req *http.Request) (*http.Response, error func (client InvoicesClient) GetResponder(resp *http.Response) (result Invoice, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -183,7 +182,6 @@ func (client InvoicesClient) GetLatestSender(req *http.Request) (*http.Response, func (client InvoicesClient) GetLatestResponder(resp *http.Response) (result Invoice, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -288,7 +286,6 @@ func (client InvoicesClient) ListSender(req *http.Request) (*http.Response, erro func (client InvoicesClient) ListResponder(resp *http.Response) (result InvoicesListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/preview/billing/mgmt/2017-02-27-preview/billing/operations.go b/services/preview/billing/mgmt/2017-02-27-preview/billing/operations.go index 2ae97e8b3562..ffc3fbcfabf8 100644 --- a/services/preview/billing/mgmt/2017-02-27-preview/billing/operations.go +++ b/services/preview/billing/mgmt/2017-02-27-preview/billing/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/preview/billing/mgmt/2017-02-27-preview/billing/version.go b/services/preview/billing/mgmt/2017-02-27-preview/billing/version.go index 4e3efd4ff6d2..55cdbf2d5e25 100644 --- a/services/preview/billing/mgmt/2017-02-27-preview/billing/version.go +++ b/services/preview/billing/mgmt/2017-02-27-preview/billing/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 + " billing/2017-02-27-preview" + return "Azure-SDK-For-Go/" + Version() + " billing/2017-02-27-preview" } // Version returns the semantic version (see http://semver.org) of the client.