Skip to content
Snippets Groups Projects
Unverified Commit c519868c authored by Dan Luhring's avatar Dan Luhring Committed by GitHub
Browse files

Export search UUIDs field (#438)

parent e06386a3
No related branches found
No related tags found
No related merge requests found
......@@ -40,11 +40,11 @@ import (
)
type searchCmdOutput struct {
uuids []string
UUIDs []string
}
func (s *searchCmdOutput) String() string {
return strings.Join(s.uuids, "\n") + "\n" // one extra /n to terminate the list
return strings.Join(s.UUIDs, "\n") + "\n" // one extra /n to terminate the list
}
func addSearchPFlags(cmd *cobra.Command) error {
......@@ -199,7 +199,7 @@ var searchCmd = &cobra.Command{
fmt.Fprintln(os.Stderr, "Found matching entries (listed by UUID):")
return &searchCmdOutput{
uuids: resp.GetPayload(),
UUIDs: resp.GetPayload(),
}, nil
}),
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment