Skip to content

Commit c0c57d5

Browse files
authored
Merge pull request #18750 from mingqing/fix-typo-in-server-embed
embed: fix typo client-listen-x to listen-client-x
2 parents 3d6ff97 + 0bec6a8 commit c0c57d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/embed/etcd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ func configureClientListeners(cfg *Config) (sctxs map[string]*serveCtx, err erro
664664
sctx = newServeCtx(cfg.logger)
665665
sctxs[addr] = sctx
666666
} else if !sctx.httpOnly {
667-
return nil, fmt.Errorf("cannot bind both --client-listen-urls and --client-listen-http-urls on the same url %s", u.String())
667+
return nil, fmt.Errorf("cannot bind both --listen-client-urls and --listen-client-http-urls on the same url %s", u.String())
668668
}
669669
sctx.secure = sctx.secure || secure
670670
sctx.insecure = sctx.insecure || !secure

0 commit comments

Comments
 (0)