Skip to content

Commit e7e4fbf

Browse files
committed
Service metadata should be in form map<string|string>
1 parent b53e619 commit e7e4fbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consul/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ def register(
878878
if tags:
879879
payload['tags'] = tags
880880
if meta:
881-
payload['meta'] = meta
881+
payload['meta'] = {str(k): str(v) for (k, v) in meta.items()}
882882
if check:
883883
payload['check'] = check
884884

0 commit comments

Comments
 (0)