diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go index 29dc97b3c926..80189635adae 100644 --- a/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go +++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/client.go @@ -121,7 +121,6 @@ func (client BaseClient) ListCachedImagesSender(req *http.Request) (*http.Respon func (client BaseClient) ListCachedImagesResponder(resp *http.Response) (result CachedImagesListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -195,7 +194,6 @@ func (client BaseClient) ListCapabilitiesSender(req *http.Request) (*http.Respon func (client BaseClient) ListCapabilitiesResponder(resp *http.Response) (result CapabilitiesListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go index 0ca54c19ba5c..8bf2b696188a 100644 --- a/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go +++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/container.go @@ -115,7 +115,6 @@ func (client ContainerClient) ExecuteCommandSender(req *http.Request) (*http.Res func (client ContainerClient) ExecuteCommandResponder(resp *http.Response) (result ContainerExecResponse, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -198,7 +197,6 @@ func (client ContainerClient) ListLogsSender(req *http.Request) (*http.Response, func (client ContainerClient) ListLogsResponder(resp *http.Response) (result Logs, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go index da33dfa9ca2e..0150b4b5f3f4 100644 --- a/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go +++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroups.go @@ -133,7 +133,6 @@ func (client ContainerGroupsClient) CreateOrUpdateSender(req *http.Request) (fut func (client ContainerGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ContainerGroup, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -210,7 +209,6 @@ func (client ContainerGroupsClient) DeleteSender(req *http.Request) (*http.Respo func (client ContainerGroupsClient) DeleteResponder(resp *http.Response) (result ContainerGroup, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusNoContent), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -288,7 +286,6 @@ func (client ContainerGroupsClient) GetSender(req *http.Request) (*http.Response func (client ContainerGroupsClient) GetResponder(resp *http.Response) (result ContainerGroup, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -362,7 +359,6 @@ func (client ContainerGroupsClient) ListSender(req *http.Request) (*http.Respons func (client ContainerGroupsClient) ListResponder(resp *http.Response) (result ContainerGroupListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -476,7 +472,6 @@ func (client ContainerGroupsClient) ListByResourceGroupSender(req *http.Request) func (client ContainerGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ContainerGroupListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) @@ -590,7 +585,6 @@ func (client ContainerGroupsClient) RestartSender(req *http.Request) (future Con func (client ContainerGroupsClient) RestartResponder(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 @@ -665,7 +659,6 @@ func (client ContainerGroupsClient) StartSender(req *http.Request) (future Conta func (client ContainerGroupsClient) StartResponder(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 @@ -740,7 +733,6 @@ func (client ContainerGroupsClient) StopSender(req *http.Request) (*http.Respons func (client ContainerGroupsClient) StopResponder(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 @@ -821,7 +813,6 @@ func (client ContainerGroupsClient) UpdateSender(req *http.Request) (*http.Respo func (client ContainerGroupsClient) UpdateResponder(resp *http.Response) (result ContainerGroup, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go index 2fc743108a07..8b8ffcb31c5b 100644 --- a/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go +++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/containergroupusage.go @@ -108,7 +108,6 @@ func (client ContainerGroupUsageClient) ListSender(req *http.Request) (*http.Res func (client ContainerGroupUsageClient) ListResponder(resp *http.Response) (result UsageListResult, err error) { err = autorest.Respond( resp, - client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go index 731954b391b2..bf77d6557908 100644 --- a/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go +++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/operations.go @@ -100,7 +100,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/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go index 0ce30f643d0d..c7f5870ae39e 100644 --- a/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go +++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/serviceassociationlink.go @@ -113,7 +113,6 @@ func (client ServiceAssociationLinkClient) DeleteSender(req *http.Request) (*htt func (client ServiceAssociationLinkClient) 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 diff --git a/services/containerinstance/mgmt/2018-10-01/containerinstance/version.go b/services/containerinstance/mgmt/2018-10-01/containerinstance/version.go index 36738a7703af..984b7cb959cc 100644 --- a/services/containerinstance/mgmt/2018-10-01/containerinstance/version.go +++ b/services/containerinstance/mgmt/2018-10-01/containerinstance/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 + " containerinstance/2018-10-01" + return "Azure-SDK-For-Go/" + Version() + " containerinstance/2018-10-01" } // Version returns the semantic version (see http://semver.org) of the client.