Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
birdayz committed Mar 21, 2019
1 parent bc8b3e9 commit 1d320cd
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions cmd/kaf/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,26 +80,6 @@ var groupLsCmd = &cobra.Command{
}

found := false
// for _, group := range groupList {
// if len(args) > 0 {
// if group == args[0] {
// found = true
// } else {
// continue
// }
// }

// detail, err := admin.DescribeConsumerGroup(group)
// if err != nil {
// panic(err)
// }

// state := detail.State
// consumers := len(detail.Members)

// fmt.Fprintf(w, "%v\t%v\t%v\t\n", group, state, consumers)
// found = true
// }

groupDescs, err := admin.DescribeConsumerGroups(groupList)
if err != nil {
Expand Down

0 comments on commit 1d320cd

Please sign in to comment.