Skip to content

Commit 001d85e

Browse files
dreginlavagetto
authored andcommitted
Fixing a couple of typos
Nothing fancy, just a couple of typos I spotted in logging and exception messages.
1 parent 7f3dd65 commit 001d85e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/etcd/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def _discover(self, domain):
228228
(answer.target.to_text(omit_final_dot=True), answer.port))
229229
_log.debug("Found %s", hosts)
230230
if not len(hosts):
231-
raise ValueError("The SRV record is present but no host were found")
231+
raise ValueError("The SRV record is present but no hosts were found")
232232
return tuple(hosts)
233233

234234
def __del__(self):
@@ -818,7 +818,7 @@ def _result_from_response(self, response):
818818

819819
def _next_server(self, cause=None):
820820
""" Selects the next server in the list, refreshes the server list. """
821-
_log.debug("Selection next machine in cache. Available machines: %s",
821+
_log.debug("Selecting next machine in cache. Available machines: %s",
822822
self._machines_cache)
823823
try:
824824
mach = self._machines_cache.pop()

0 commit comments

Comments
 (0)