Skip to content

Commit daf1460

Browse files
Fix variable name
1 parent f672e64 commit daf1460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C-best-practice-configuration-env-var.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Kemudian tambahkan lagi statement pengambilan nilai *env var* `SERVER_PORT`.
7373

7474
```go
7575
confServerPort := os.Getenv("SERVER_PORT")
76-
if confAppName == "" {
76+
if confServerPort == "" {
7777
e.Logger.Fatal("SERVER_PORT config is required")
7878
}
7979
```

0 commit comments

Comments
 (0)