summaryrefslogtreecommitdiff
path: root/_posts
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2019-09-10 12:16:22 -0400
committerBrian Picciano <mediocregopher@gmail.com>2019-09-10 12:16:22 -0400
commit0b9543c6cd6e7f65317284e759bb3df93c84c8d7 (patch)
tree8b88cca536fc7ba6b62e7efd7793d9f073119b30 /_posts
parentd9cb7324354dbda0aa93e06d4cd6bf179c8020ad (diff)
fix typo in program structure post
Diffstat (limited to '_posts')
-rw-r--r--_posts/2019-08-02-program-structure-and-composability.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2019-08-02-program-structure-and-composability.md b/_posts/2019-08-02-program-structure-and-composability.md
index e965684..3f8281a 100644
--- a/_posts/2019-08-02-program-structure-and-composability.md
+++ b/_posts/2019-08-02-program-structure-and-composability.md
@@ -363,7 +363,7 @@ of `Component`. Then `redis.NewConn` is reduced to:
func NewConn(cmp *mcmp.Component, defaultAddr string) *RedisConn {
cmp = cmp.Child("redis")
- addrParam := flag.String(cmp, "-addr", defaultAddr, "Address of redis instance to connect to")
+ addrParam := mcfg.String(cmp, "addr", defaultAddr, "Address of redis instance to connect to")
// finish setup
return redisConn