Commit deed049c authored by Bram Daams's avatar Bram Daams
Browse files

fixed some typos (using codespell)

parent 1ba8a53f
Pipeline #46043 passed with stages
in 4 minutes
......@@ -15,7 +15,7 @@ Install sch system wide with pip
$ sudo pip3 install sch
A `sch` cli should now be availble:
A `sch` cli should now be available:
``` console
$ which sch
......@@ -170,7 +170,7 @@ Resulting in the following check:
`sch` takes over the role of the shell. Jobs not containing the `JOB_ID` environment variable are directly executed with `os.system`.
For `sch` managed jobs:
- `sch` will start with pinging `/start` endpoint of the check
- os.sytem executes the command
- os.system executes the command
- depending on the exit code, it will ping for success or ping the `/fail` end point on failure
### References
......@@ -138,7 +138,7 @@ def shell(command):
a line the cron line.
If you want to set additional tags for your check, you should do that with
an environment variable JOB_TAGS. Seperate multiple tags with a comma.
an environment variable JOB_TAGS. Separate multiple tags with a comma.
# pylint:disable=too-many-statements
# pylint:disable=too-many-branches
......@@ -206,7 +206,7 @@ def shell(command):
# at this point, we're setup to do some smart stuff ;-)
# we know the exact cron configration for the job
# we know the exact cron configuration for the job
# and are able to communicate with healthchecks
# wait random delay
......@@ -226,7 +226,7 @@ def shell(command):
# execute command
"Executing shell commmand: %s (",
"Executing shell command: %s (",
......@@ -330,7 +330,7 @@ class Healthchecks:
checks = self.get_checks(query)
# we are only interrested if we found exactly one match
# we are only interested if we found exactly one match
if checks and len(checks) == 1:
return checks[0]
......@@ -357,7 +357,7 @@ class Healthchecks:
def get_check_hash(check):
returns the hash stored in a tag of a healthchecks check
the tags lookes like:
the tags looks like:
......@@ -417,7 +417,7 @@ class Healthchecks:
return False
"Sucessfully updated check (",
"Successfully updated check (",
return True
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment