Skip to content
This repository was archived by the owner on Mar 30, 2023. It is now read-only.

Commit a573c5a

Browse files
Small typos
Signed-off-by: Lukasz Gryglicki <lukaszgryglicki@o2.pl>
1 parent d2cad72 commit a573c5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/vars.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
- Assume we already have `os_hostname` variable which contains current hostname.
4343
- In first line we replace all `[[hostname]]` with current host name.
4444
- Second line is commented out, but here we're replacing `[[hostname]]` with hardcoded value. We can comment out 1st line and uncomment 2nd to test how it would work on a specific hostname.
45-
- We can use 'test server' markers: `testsrv=[[hostname]] ` and ` [[hostname]]=testsrv` to mark beginning and end of content that will only be inserted when `hostname = 'cncftest.io`.
46-
- We can use 'production server' markers: `prodsrv=[[hostname]] ` and ` [[hostname]]=prodsrv` to mark beginning and end of content that will only be inserted when `hostname = 'devstats.cncf.io`.
45+
- We can use 'test server' markers: `testsrv=[[hostname]] ` and ` [[hostname]]=testsrv` to mark beginning and end of content that will only be inserted when `hostname = 'cncftest.io'`.
46+
- We can use 'production server' markers: `prodsrv=[[hostname]] ` and ` [[hostname]]=prodsrv` to mark beginning and end of content that will only be inserted when `hostname = 'devstats.cncf.io'`.
4747
- See home dashboard projects [panel](https://github.com/cncf/devstats/blob/master/partials/projects.html) for example usage.
4848
- This works like this:
4949
- Text `testsrv=[[hostname]]` is first replaced with the current hostname, for example: `testsrv=cncftest.io` on the test server.

0 commit comments

Comments
 (0)