Skip to content

Commit

Permalink
Merge pull request #266 from StevenLeiZhang/fixtypo
Browse files Browse the repository at this point in the history
Fix: typo in document of Configuration
  • Loading branch information
Peefy authored Feb 2, 2024
2 parents 8a227ad + ab3d089 commit fbd29b3
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 fbd29b3

Please sign in to comment.