fix another small typo in program structure post

This commit is contained in:
Brian Picciano 2019-09-10 12:20:30 -04:00
parent 0b9543c6cd
commit a6a158a8a2

View File

@ -499,7 +499,7 @@ func InstConn(cmp *mcmp.Component, defaultAddr string) *RedisConn {
// has been initialized yet. They will remain empty until initialization has // has been initialized yet. They will remain empty until initialization has
// occurred. // occurred.
redisConn := new(RedisConn) redisConn := new(RedisConn)
addrParam := mcfg.String(cmp, "-addr", defaultAddr, "Address of redis instance to connect to") addrParam := mcfg.String(cmp, "addr", defaultAddr, "Address of redis instance to connect to")
mrun.InitHook(cmp, func() { mrun.InitHook(cmp, func() {
// This hook will run after parameter initialization has happened, and // This hook will run after parameter initialization has happened, and