You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oapiErr, ok:=err.(*oapierror.GenericOpenAPIError) //nolint:errorlint //complaining that error.As should be used to catch wrapped errors, but this error should not be wrapped
oapiErr, ok:=err.(*oapierror.GenericOpenAPIError) //nolint:errorlint //complaining that error.As should be used to catch wrapped errors, but this error should not be wrapped
oapiErr, ok:=err.(*oapierror.GenericOpenAPIError) //nolint:errorlint //complaining that error.As should be used to catch wrapped errors, but this error should not be wrapped
oapiErr, ok:=err.(*oapierror.GenericOpenAPIError) //nolint:errorlint //complaining that error.As should be used to catch wrapped errors, but this error should not be wrapped
oapiErr, ok:=err.(*oapierror.GenericOpenAPIError) //nolint:errorlint //complaining that error.As should be used to catch wrapped errors, but this error should not be wrapped
if!(ok&& (oapiErr.StatusCode==http.StatusNotFound||oapiErr.StatusCode==http.StatusBadRequest)) { // TODO: iaas api returns http 400 in case network area region is not found
485
+
if!(errors.As(err, &oapiErr) && (oapiErr.StatusCode==http.StatusNotFound||oapiErr.StatusCode==http.StatusBadRequest)) { // TODO: iaas api returns http 400 in case network area region is not found
ifok&& (oapiErr.StatusCode==http.StatusNotFound||oapiErr.StatusCode==http.StatusBadRequest) { // TODO: iaas api returns http 400 in case network area region is not found
611
+
iferrors.As(err, &oapiErr) && (oapiErr.StatusCode==http.StatusNotFound||oapiErr.StatusCode==http.StatusBadRequest) { // TODO: iaas api returns http 400 in case network area region is not found
0 commit comments