diff --git a/services/containerinstance/mgmt/2018-06-01/containerinstance/container.go b/services/containerinstance/mgmt/2018-06-01/containerinstance/container.go index d0ac5bb26e63..b720d5747bfc 100644 --- a/services/containerinstance/mgmt/2018-06-01/containerinstance/container.go +++ b/services/containerinstance/mgmt/2018-06-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-06-01/containerinstance/containergroups.go b/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroups.go index 3599b0758c45..6b04059c2e41 100644 --- a/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroups.go +++ b/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroups.go @@ -131,7 +131,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()) @@ -208,7 +207,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()) @@ -286,7 +284,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()) @@ -360,7 +357,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()) @@ -474,7 +470,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()) @@ -588,7 +583,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 @@ -663,7 +657,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 @@ -744,7 +737,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-06-01/containerinstance/containergroupusage.go b/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroupusage.go index 6973ea75d526..474a754e95a3 100644 --- a/services/containerinstance/mgmt/2018-06-01/containerinstance/containergroupusage.go +++ b/services/containerinstance/mgmt/2018-06-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-06-01/containerinstance/operations.go b/services/containerinstance/mgmt/2018-06-01/containerinstance/operations.go index 209074b2869a..f144616d0247 100644 --- a/services/containerinstance/mgmt/2018-06-01/containerinstance/operations.go +++ b/services/containerinstance/mgmt/2018-06-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-06-01/containerinstance/version.go b/services/containerinstance/mgmt/2018-06-01/containerinstance/version.go index d6d96251823a..6086890c5a4c 100644 --- a/services/containerinstance/mgmt/2018-06-01/containerinstance/version.go +++ b/services/containerinstance/mgmt/2018-06-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-06-01" + return "Azure-SDK-For-Go/" + Version() + " containerinstance/2018-06-01" } // Version returns the semantic version (see http://semver.org) of the client.