Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #3 from rwillard/master
Browse files Browse the repository at this point in the history
p error
  • Loading branch information
a5huynh committed Feb 11, 2016
2 parents 7e29243 + 0fe0dca commit 51f3ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sidekick.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def announce_services( services, etcd_folder, etcd_client, timeout , ttl, vulcan
else:
# Announce this server to ETCD
etcd_client.write( backend, {"Type": value['type']}, ttl=ttl)
etcd_client.write( server, {"URL": "http://{0!}:{1!}".format(value['ip'], value['port'])}, ttl=ttl)
etcd_client.write( server, {"URL": "http://{0!s}:{1!s}".format(value['ip'], value['port'])}, ttl=ttl)
etcd_client.write( frontend, {"Type": value['type'], "BackendId": key, "Route": "Host(`{0}`)".format(value['domain'])}, ttl=ttl)
except etcd.EtcdException as e:
logging.error( e )
Expand Down

0 comments on commit 51f3ab7

Please sign in to comment.