Skip to content

Commit

Permalink
Fix spelling errors in comments and logs
Browse files Browse the repository at this point in the history
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Jul 25, 2023
1 parent 1619611 commit 445836a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/drenv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ def wait_for(
using `kubectl wait`.
To wait for a specific part of the resource specify a kubectl output
specficiation (e.g. output="jsonpath={.status.phase}"). The function
specification (e.g. output="jsonpath={.status.phase}"). The function
returns when the output is non empty.
Returns the resource .metadata.name, or if output was specified, the
specified outpout for the resource.
specified output for the resource.
Raises RuntimeError if the resource does not exist within the specified
timeout.
Expand All @@ -45,7 +45,7 @@ def wait_for(
out = kubectl.get(*args, context=profile)
if out:
elapsed = time.monotonic() - start
log(f"{resource!r} outuput={output!r} found in {elapsed:.2f} seconds")
log(f"{resource!r} output={output!r} found in {elapsed:.2f} seconds")
return out

if time.monotonic() > deadline:
Expand All @@ -59,7 +59,7 @@ def wait_for(

def template(path):
"""
Retrun a string.Template with contents of path.
Return a string.Template with contents of path.
"""
with open(path) as f:
return string.Template(f.read())
Expand Down

0 comments on commit 445836a

Please sign in to comment.