Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Print subjects per line
Browse files Browse the repository at this point in the history
  • Loading branch information
rollulus committed Jun 30, 2016
1 parent 9dd149d commit 7424901
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion schema-registry-cli/cmd/subjects.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cmd

import (
"fmt"
"log"

"github.com/spf13/cobra"
)
Expand All @@ -15,7 +16,10 @@ var subjectsCmd = &cobra.Command{
if err != nil {
return err
}
fmt.Printf("%v\n", subs)
log.Printf("there are %d subjects\n", len(subs))
for _, s := range subs {
fmt.Println(s)
}
return nil
},
}
Expand Down

0 comments on commit 7424901

Please sign in to comment.