Skip to content

Commit 70843b2

Browse files
committed
upd values to value
1 parent 19d7e96 commit 70843b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "python-rconfig"
3-
version = "20.2.6"
3+
version = "20.2.7"
44
description = "Helps bring configuration, stored remotely on a ``Consul`` server, to your application"
55
license = "MIT"
66
authors = ["Artem Angelchev <artangelchev@gmail.com>"]

rconfig/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def _get_config_for_keys_from_consul(
8484
deserializer: Callable,
8585
) -> dict:
8686
_, raw_configs = server.kv.get(key, recurse=True)
87-
if not raw_configs[0]['Values']:
87+
if not raw_configs[0]['Value']:
8888
raw_configs = raw_configs[1:]
8989
raw_configs = raw_configs[0:] if raw_configs else list()
9090
return {

0 commit comments

Comments
 (0)