summaryrefslogtreecommitdiff
path: root/kafka/protocol
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2018-11-23 10:17:59 -0800
committerDana Powers <dana.powers@gmail.com>2018-11-23 10:17:59 -0800
commit3260671cef403d88388f73fb2b94efd84958a30e (patch)
treed0887829711c564d74a4ce83734ac777184183e1 /kafka/protocol
parentc6d8a536eff6e5ce205badc38b841d3bc27f40f6 (diff)
downloadkafka-python-admin_client_unpack_errors.tar.gz
Fix response error checking in KafkaAdminClient send_to_controlleradmin_client_unpack_errors
Diffstat (limited to 'kafka/protocol')
-rw-r--r--kafka/protocol/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/protocol/admin.py b/kafka/protocol/admin.py
index fc62c35..9f67af8 100644
--- a/kafka/protocol/admin.py
+++ b/kafka/protocol/admin.py
@@ -619,7 +619,7 @@ class CreatePartitionsResponse_v0(Response):
API_VERSION = 0
SCHEMA = Schema(
('throttle_time_ms', Int32),
- ('topic_errors', Array(
+ ('topic_error_codes', Array(
('topic', String('utf-8')),
('error_code', Int16),
('error_message', String('utf-8'))))