fix typo enviornment -> environment in dub
@@ -21,7 +21,7 @@ containers.
The script has 4 commands:
-1. template : Uses Jinja2 and enviornment variables to generate configuration files.
+1. template : Uses Jinja2 and environment variables to generate configuration files.
2. ensure: ensures that a environment variable is set. Used to ensure required properties.
3. wait: waits for a service to become available on a host:port.
4. path: Checks a path for permissions (read, write, execute, exists)
@@ -193,7 +193,7 @@ def check_path_for_permissions(path, mode):
def exit_if_absent(env_var):
- """Check if an enviornment variable is absent.
+ """Check if an environment variable is absent.
Args:
env_var: Name of environment variable.
@@ -209,7 +209,7 @@ def exit_if_absent(env_var):
def fill_and_write_template(template_file, output_file, context=os.environ):
- """Uses Jinja2 template and enviornment variables to create configuration
+ """Uses Jinja2 template and environment variables to create configuration
files.
Adds parse_log4j_loggers as a custom function for log4j.property parsing.
@@ -217,7 +217,7 @@ def fill_and_write_template(template_file, output_file, context=os.environ):
Args:
template_file: template file path.
output_file: output file path.
- context: the data for the filling in the template, defaults to enviornment variables.
+ context: the data for the filling in the template, defaults to environment variables.
Returns:
Returns False if an Exception occurs, True otherwise.
