Skip to content

Commit

Permalink
release 5.19.7 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dzharikhin committed Nov 1, 2019
1 parent 42404c8 commit 9dcd001
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontik/integrations/service_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def initialize_app(self, app) -> Optional[Future]:
options.consul_http_check_interval_sec,
timeout=options.consul_http_check_timeout_sec
)

# not supported by version 1.1.0
meta = {'serviceVersion': version}
return asyncio.ensure_future(self.consul.agent.service.register(
self.service_name,
service_id=self.service_id,
address=host,
port=options.port,
check=http_check,
tags=options.consul_tags,
meta={'serviceVersion': version}
tags=options.consul_tags
))

def deinitialize_app(self, app) -> Optional[Future]:
Expand Down

0 comments on commit 9dcd001

Please sign in to comment.