diff --git a/services/managedservices/mgmt/2019-06-01/managedservices/operations.go b/services/managedservices/mgmt/2019-06-01/managedservices/operations.go index 6c4bc3f8c246..1e261956783b 100644 --- a/services/managedservices/mgmt/2019-06-01/managedservices/operations.go +++ b/services/managedservices/mgmt/2019-06-01/managedservices/operations.go @@ -100,7 +100,6 @@ func (client OperationsClient) ListSender(req *http.Request) (*http.Response, er func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/managedservices/mgmt/2019-06-01/managedservices/registrationassignments.go b/services/managedservices/mgmt/2019-06-01/managedservices/registrationassignments.go index e9f008bd4882..dda1adde8aac 100644 --- a/services/managedservices/mgmt/2019-06-01/managedservices/registrationassignments.go +++ b/services/managedservices/mgmt/2019-06-01/managedservices/registrationassignments.go @@ -132,7 +132,6 @@ func (client RegistrationAssignmentsClient) CreateOrUpdateSender(req *http.Reque func (client RegistrationAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result RegistrationAssignment, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -207,7 +206,6 @@ func (client RegistrationAssignmentsClient) DeleteSender(req *http.Request) (fut func (client RegistrationAssignmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -286,7 +284,6 @@ func (client RegistrationAssignmentsClient) GetSender(req *http.Request) (*http. func (client RegistrationAssignmentsClient) GetResponder(resp *http.Response) (result RegistrationAssignment, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -365,7 +362,6 @@ func (client RegistrationAssignmentsClient) ListSender(req *http.Request) (*http func (client RegistrationAssignmentsClient) ListResponder(resp *http.Response) (result RegistrationAssignmentList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/managedservices/mgmt/2019-06-01/managedservices/registrationdefinitions.go b/services/managedservices/mgmt/2019-06-01/managedservices/registrationdefinitions.go index c60c71026e30..f7d692d4d597 100644 --- a/services/managedservices/mgmt/2019-06-01/managedservices/registrationdefinitions.go +++ b/services/managedservices/mgmt/2019-06-01/managedservices/registrationdefinitions.go @@ -131,7 +131,6 @@ func (client RegistrationDefinitionsClient) CreateOrUpdateSender(req *http.Reque func (client RegistrationDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result RegistrationDefinition, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -206,7 +205,6 @@ func (client RegistrationDefinitionsClient) DeleteSender(req *http.Request) (*ht func (client RegistrationDefinitionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByClosing()) result.Response = resp @@ -280,7 +278,6 @@ func (client RegistrationDefinitionsClient) GetSender(req *http.Request) (*http. func (client RegistrationDefinitionsClient) GetResponder(resp *http.Response) (result RegistrationDefinition, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -354,7 +351,6 @@ func (client RegistrationDefinitionsClient) ListSender(req *http.Request) (*http func (client RegistrationDefinitionsClient) ListResponder(resp *http.Response) (result RegistrationDefinitionList, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/managedservices/mgmt/2019-06-01/managedservices/version.go b/services/managedservices/mgmt/2019-06-01/managedservices/version.go index b21bad297953..431f9b9cf353 100644 --- a/services/managedservices/mgmt/2019-06-01/managedservices/version.go +++ b/services/managedservices/mgmt/2019-06-01/managedservices/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 + " managedservices/2019-06-01" + return "Azure-SDK-For-Go/" + Version() + " managedservices/2019-06-01" } // Version returns the semantic version (see http://semver.org) of the client.