Skip to content

Commit

Permalink
Fix: typo in document of Configuration
Browse files Browse the repository at this point in the history
Signed-off-by: StevenLeiZhang <[email protected]>
  • Loading branch information
StevenLeiZhang committed Feb 2, 2024
1 parent 8a227ad commit ab3d089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/user_docs/guides/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ nginx:
Besides, we can dynamically receive external parameters through the KCL builtin function `option`. For example, for the following KCL file (db.k), we can use the KCL command line `-D` flag to receive an external dynamic parameter.

```python
env: str = option("env") or "dev" # The attribute `env` has a default value "den"
env: str = option("env") or "dev" # The attribute `env` has a default value "dev"
database: str = option("database")
hosts = {
dev = "postgres.dev"
Expand Down
2 changes: 1 addition & 1 deletion examples/configuration/db.k
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
env: str = option("env") or "dev" # The attribute `env` has a default value "den"
env: str = option("env") or "dev" # The attribute `env` has a default value "dev"
database: str = option("database")
hosts = {
dev = "postgres.dev"
Expand Down

0 comments on commit ab3d089

Please sign in to comment.