Skip to content

Commit

Permalink
Merge "[FAB-5357] "peer channel list" should output to stdout"
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaskins authored and Gerrit Code Review committed Sep 19, 2017
2 parents a9d1bf1 + b86960c commit 472a4bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peer/channel/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ func list(cf *ChannelCmdFactory) error {
if channels, err := client.getChannels(); err != nil {
return err
} else {
logger.Infof("Channels peers has joined to: ")
fmt.Println("Channels peers has joined: ")

for _, channel := range channels {
logger.Infof("%s ", channel.ChannelId)
fmt.Printf("%s\n", channel.ChannelId)
}
}

Expand Down

0 comments on commit 472a4bd

Please sign in to comment.