From d602256bf8ed7bb34f8a904b36908979d6f4ed96 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Wed, 1 Jul 2020 03:40:07 +0000 Subject: [PATCH] Generated from 490c7efa49e94512333d7fed5757c9d3963e3bdb Fixed the bad output-folder Fixed the bad output-folder --- .../billing/mgmt/2017-04-24-preview/billing/invoices.go | 3 --- .../billing/mgmt/2017-04-24-preview/billing/operations.go | 1 - .../preview/billing/mgmt/2017-04-24-preview/billing/periods.go | 2 -- .../preview/billing/mgmt/2017-04-24-preview/billing/version.go | 2 +- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/services/preview/billing/mgmt/2017-04-24-preview/billing/invoices.go b/services/preview/billing/mgmt/2017-04-24-preview/billing/invoices.go index a9058939e967..6558680678d6 100644 --- a/services/preview/billing/mgmt/2017-04-24-preview/billing/invoices.go +++ b/services/preview/billing/mgmt/2017-04-24-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-04-24-preview/billing/operations.go b/services/preview/billing/mgmt/2017-04-24-preview/billing/operations.go index d0034bba616e..5d0cbce0f732 100644 --- a/services/preview/billing/mgmt/2017-04-24-preview/billing/operations.go +++ b/services/preview/billing/mgmt/2017-04-24-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-04-24-preview/billing/periods.go b/services/preview/billing/mgmt/2017-04-24-preview/billing/periods.go index 47a1205b0cad..bdf7e834b1c2 100644 --- a/services/preview/billing/mgmt/2017-04-24-preview/billing/periods.go +++ b/services/preview/billing/mgmt/2017-04-24-preview/billing/periods.go @@ -110,7 +110,6 @@ func (client PeriodsClient) GetSender(req *http.Request) (*http.Response, error) func (client PeriodsClient) GetResponder(resp *http.Response) (result Period, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -207,7 +206,6 @@ func (client PeriodsClient) ListSender(req *http.Request) (*http.Response, error func (client PeriodsClient) ListResponder(resp *http.Response) (result PeriodsListResult, 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-04-24-preview/billing/version.go b/services/preview/billing/mgmt/2017-04-24-preview/billing/version.go index be657dc8853d..aed36da5e301 100644 --- a/services/preview/billing/mgmt/2017-04-24-preview/billing/version.go +++ b/services/preview/billing/mgmt/2017-04-24-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-04-24-preview" + return "Azure-SDK-For-Go/" + Version() + " billing/2017-04-24-preview" } // Version returns the semantic version (see http://semver.org) of the client.