diff --git a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go index 4d259bf00dbf..344340fab25b 100644 --- a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go +++ b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alerts.go @@ -109,7 +109,6 @@ func (client AlertsClient) ChangeStateSender(req *http.Request) (*http.Response, func (client AlertsClient) ChangeStateResponder(resp *http.Response) (result Alert, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -260,7 +259,6 @@ func (client AlertsClient) GetAllSender(req *http.Request) (*http.Response, erro func (client AlertsClient) GetAllResponder(resp *http.Response) (result AlertsList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -371,7 +369,6 @@ func (client AlertsClient) GetByIDSender(req *http.Request) (*http.Response, err func (client AlertsClient) GetByIDResponder(resp *http.Response) (result Alert, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -446,7 +443,6 @@ func (client AlertsClient) GetHistorySender(req *http.Request) (*http.Response, func (client AlertsClient) GetHistoryResponder(resp *http.Response) (result AlertModification, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -569,7 +565,6 @@ func (client AlertsClient) GetSummarySender(req *http.Request) (*http.Response, func (client AlertsClient) GetSummaryResponder(resp *http.Response) (result AlertsSummary, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go index 6c6677e07122..9d624e89198a 100644 --- a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go +++ b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/operations.go @@ -101,7 +101,6 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go index 23db429a5c53..f90a552dd866 100644 --- a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go +++ b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/smartgroups.go @@ -109,7 +109,6 @@ func (client SmartGroupsClient) ChangeStateSender(req *http.Request) (*http.Resp func (client SmartGroupsClient) ChangeStateResponder(resp *http.Response) (result SmartGroup, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -229,7 +228,6 @@ func (client SmartGroupsClient) GetAllSender(req *http.Request) (*http.Response, func (client SmartGroupsClient) GetAllResponder(resp *http.Response) (result SmartGroupsList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -340,7 +338,6 @@ func (client SmartGroupsClient) GetByIDSender(req *http.Request) (*http.Response func (client SmartGroupsClient) GetByIDResponder(resp *http.Response) (result SmartGroup, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -414,7 +411,6 @@ func (client SmartGroupsClient) GetHistorySender(req *http.Request) (*http.Respo func (client SmartGroupsClient) GetHistoryResponder(resp *http.Response) (result SmartGroupModification, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/version.go b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/version.go index e0bc1b894c84..d8fec5adce9f 100644 --- a/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/version.go +++ b/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/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 + " alertsmanagement/2018-05-05" + return "Azure-SDK-For-Go/" + Version() + " alertsmanagement/2018-05-05" } // Version returns the semantic version (see http://semver.org) of the client.