Skip to content

Commit

Permalink
sample/config: Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya committed Mar 8, 2018
1 parent ec99b7a commit 1ef81d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/config/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
func main() {
cfg := tp.PeerConfig{}

// auto create and sync config from config/config.yaml
// auto create and sync config/config.yaml
cfgo.MustGet("config/config.yaml", true).MustReg("cfg_cli", &cfg)

cli := tp.NewPeer(cfg)
Expand Down
2 changes: 1 addition & 1 deletion samples/config/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func main() {
ListenAddress: ":9090",
}

// auto create and sync config from config/config.yaml
// auto create and sync config/config.yaml
cfgo.MustGet("config/config.yaml", true).MustReg("cfg_srv", &cfg)

svr := tp.NewPeer(cfg)
Expand Down

0 comments on commit 1ef81d2

Please sign in to comment.