From 8a2bea0cce6fedc9723f9537f97d9be1b33b6d2d Mon Sep 17 00:00:00 2001 From: Andrey Selivanov Date: Wed, 6 Jul 2016 15:16:21 +0300 Subject: [PATCH] Fixed typo in get_compatibility --- confluent/schemaregistry/client/CachedSchemaRegistryClient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent/schemaregistry/client/CachedSchemaRegistryClient.py b/confluent/schemaregistry/client/CachedSchemaRegistryClient.py index 737a3cf..61e3e32 100644 --- a/confluent/schemaregistry/client/CachedSchemaRegistryClient.py +++ b/confluent/schemaregistry/client/CachedSchemaRegistryClient.py @@ -242,6 +242,6 @@ def get_compatibility(self, subject=None): result,meta,code = self._send_request(url) compatibility = result.get('compatibility', None) if not compatibility: - compatbility = result.get('compatibilityLevel') + compatibility = result.get('compatibilityLevel') - return compatbility + return compatibility