Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Generated from fd85b049a001f2486a5f3be3ff6e59e995936258
Browse files Browse the repository at this point in the history
Updated VNet Gateways operations: Fix for #4642
  • Loading branch information
AutorestCI committed Feb 20, 2019
1 parent 9d1ec23 commit 395f9ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2965,7 +2965,7 @@ function _beginGeneratevpnclientpackage(resourceGroupName, virtualNetworkGateway
return callback(err);
}
let statusCode = response.statusCode;
if (statusCode !== 200) {
if (statusCode !== 200 && statusCode !== 202) {
let error = new Error(responseBody);
error.statusCode = response.statusCode;
error.request = msRest.stripRequest(httpRequest);
Expand Down

0 comments on commit 395f9ba

Please sign in to comment.