diff options
author | chapson <chapson@yandex-team.ru> | 2022-02-10 16:47:43 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:43 +0300 |
commit | 1f559aadf65bf79622a7e2bfb1f76440a7758bf8 (patch) | |
tree | 2b431a3d9e0c137780d9083e60a416f34098cdc6 | |
parent | 330c83f8c116bd45316397b179275e9d87007e7d (diff) | |
download | ydb-1f559aadf65bf79622a7e2bfb1f76440a7758bf8.tar.gz |
Restoring authorship annotation for <chapson@yandex-team.ru>. Commit 1 of 2.
-rw-r--r-- | contrib/libs/grpc/src/core/ext/filters/http/client/http_client_filter.cc | 6 | ||||
-rw-r--r-- | contrib/libs/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.cc | 4 | ||||
-rw-r--r-- | contrib/libs/grpc/src/core/lib/transport/status_conversion.cc | 12 | ||||
-rw-r--r-- | contrib/libs/grpc/src/python/grpcio_status/ya.make | 4 | ||||
-rw-r--r-- | contrib/python/botocore/ya.make | 8 | ||||
-rw-r--r-- | contrib/python/ya.make | 8 | ||||
-rw-r--r-- | library/python/ya.make | 4 |
7 files changed, 23 insertions, 23 deletions
diff --git a/contrib/libs/grpc/src/core/ext/filters/http/client/http_client_filter.cc b/contrib/libs/grpc/src/core/ext/filters/http/client/http_client_filter.cc index f5f18474da..ff2857cfeb 100644 --- a/contrib/libs/grpc/src/core/ext/filters/http/client/http_client_filter.cc +++ b/contrib/libs/grpc/src/core/ext/filters/http/client/http_client_filter.cc @@ -39,7 +39,7 @@ #include "src/core/lib/slice/slice_internal.h" #include "src/core/lib/slice/slice_string_helpers.h" #include "src/core/lib/transport/static_metadata.h" -#include "src/core/lib/transport/status_conversion.h" +#include "src/core/lib/transport/status_conversion.h" #include "src/core/lib/transport/transport_impl.h" #define EXPECTED_CONTENT_TYPE "application/grpc" @@ -129,8 +129,8 @@ static grpc_error* client_filter_incoming_metadata(grpc_metadata_batch* b) { GRPC_ERROR_CREATE_FROM_STATIC_STRING( "Received http2 :status header with non-200 OK status"), GRPC_ERROR_STR_VALUE, grpc_slice_from_copied_string(val)), - GRPC_ERROR_INT_GRPC_STATUS, - grpc_http2_status_to_grpc_status(atoi(val))), + GRPC_ERROR_INT_GRPC_STATUS, + grpc_http2_status_to_grpc_status(atoi(val))), GRPC_ERROR_STR_GRPC_MESSAGE, grpc_slice_from_cpp_string(std::move(msg))); gpr_free(val); diff --git a/contrib/libs/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.cc b/contrib/libs/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.cc index 180ca62543..ee9005c7df 100644 --- a/contrib/libs/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +++ b/contrib/libs/grpc/src/core/ext/transport/chttp2/transport/chttp2_transport.cc @@ -2457,8 +2457,8 @@ static grpc_error* try_http_parsing(grpc_chttp2_transport* t) { grpc_error_set_int(GRPC_ERROR_CREATE_FROM_STATIC_STRING( "Trying to connect an http1.x server"), GRPC_ERROR_INT_HTTP_STATUS, response.status), - GRPC_ERROR_INT_GRPC_STATUS, - grpc_http2_status_to_grpc_status(response.status)); + GRPC_ERROR_INT_GRPC_STATUS, + grpc_http2_status_to_grpc_status(response.status)); } GRPC_ERROR_UNREF(parse_error); diff --git a/contrib/libs/grpc/src/core/lib/transport/status_conversion.cc b/contrib/libs/grpc/src/core/lib/transport/status_conversion.cc index 46c6cd8c3b..2b6a74c7ff 100644 --- a/contrib/libs/grpc/src/core/lib/transport/status_conversion.cc +++ b/contrib/libs/grpc/src/core/lib/transport/status_conversion.cc @@ -68,21 +68,21 @@ grpc_status_code grpc_http2_status_to_grpc_status(int status) { case 200: return GRPC_STATUS_OK; case 400: - return GRPC_STATUS_INTERNAL; + return GRPC_STATUS_INTERNAL; case 401: return GRPC_STATUS_UNAUTHENTICATED; case 403: return GRPC_STATUS_PERMISSION_DENIED; case 404: - return GRPC_STATUS_UNIMPLEMENTED; + return GRPC_STATUS_UNIMPLEMENTED; case 429: - return GRPC_STATUS_UNAVAILABLE; - case 502: - return GRPC_STATUS_UNAVAILABLE; + return GRPC_STATUS_UNAVAILABLE; + case 502: + return GRPC_STATUS_UNAVAILABLE; case 503: return GRPC_STATUS_UNAVAILABLE; case 504: - return GRPC_STATUS_UNAVAILABLE; + return GRPC_STATUS_UNAVAILABLE; /* everything else is unknown */ default: return GRPC_STATUS_UNKNOWN; diff --git a/contrib/libs/grpc/src/python/grpcio_status/ya.make b/contrib/libs/grpc/src/python/grpcio_status/ya.make index 61a3ee4336..d9d3822e88 100644 --- a/contrib/libs/grpc/src/python/grpcio_status/ya.make +++ b/contrib/libs/grpc/src/python/grpcio_status/ya.make @@ -12,7 +12,7 @@ OWNER( ) PEERDIR( - contrib/python/google-api-core + contrib/python/google-api-core contrib/libs/grpc/grpc contrib/python/six ) @@ -43,7 +43,7 @@ PY_SRCS( TOP_LEVEL grpc_status/__init__.py grpc_status/_common.py - grpc_status/rpc_status.py + grpc_status/rpc_status.py ) IF (PYTHON3) diff --git a/contrib/python/botocore/ya.make b/contrib/python/botocore/ya.make index dc02d4a419..2d164814bb 100644 --- a/contrib/python/botocore/ya.make +++ b/contrib/python/botocore/ya.make @@ -798,10 +798,10 @@ RESOURCE_FILES( #botocore/data/schemas/2019-12-02/waiters-2.json #botocore/data/sdb/2009-04-15/paginators-1.json #botocore/data/sdb/2009-04-15/service-2.json - botocore/data/secretsmanager/2017-10-17/examples-1.json - botocore/data/secretsmanager/2017-10-17/paginators-1.json - botocore/data/secretsmanager/2017-10-17/service-2.json - botocore/data/secretsmanager/2017-10-17/service-2.sdk-extras.json + botocore/data/secretsmanager/2017-10-17/examples-1.json + botocore/data/secretsmanager/2017-10-17/paginators-1.json + botocore/data/secretsmanager/2017-10-17/service-2.json + botocore/data/secretsmanager/2017-10-17/service-2.sdk-extras.json #botocore/data/securityhub/2018-10-26/paginators-1.json #botocore/data/securityhub/2018-10-26/service-2.json #botocore/data/serverlessrepo/2017-09-08/paginators-1.json diff --git a/contrib/python/ya.make b/contrib/python/ya.make index d01ced9f3a..fe8d217f75 100644 --- a/contrib/python/ya.make +++ b/contrib/python/ya.make @@ -263,24 +263,24 @@ RECURSE( django-js-asset django-json-widget django-markwhat - django-model-choices + django-model-choices django-model-utils django-modeladmin-reorder django-modeltranslation django-moderation django-mptt django-mptt-admin - django-nested-inline + django-nested-inline django-netfields django-ninja - django-object-actions + django-object-actions django-opentracing django-partial-index django-pdb django-phonenumbers django-picklefield django-post-office - django-postgrespool2 + django-postgrespool2 django-proxy-storage django-query-exchange django-redis diff --git a/library/python/ya.make b/library/python/ya.make index 2e1eb6e0e1..b5bebd859c 100644 --- a/library/python/ya.make +++ b/library/python/ya.make @@ -63,7 +63,7 @@ RECURSE( django_celery_monitoring django_russian django_template_common - django_tools_log_context + django_tools_log_context dssclient dump_dict edit_distance @@ -190,7 +190,7 @@ RECURSE( toloka-kit toloka-airflow toloka-prefect - tools_structured_logs + tools_structured_logs thread thread/test tskv |