Fix std{in,out,err} in export cmd

This commit is contained in:
Yuce Tekol 2018-09-05 17:37:44 +03:00
parent 480c853a3e
commit fe1208ac65
No known key found for this signature in database
GPG key ID: CB59E46D2FB90573

View file

@ -17,7 +17,6 @@ package cmd
import (
"context"
"io"
"os"
"github.com/spf13/cobra"
@ -27,7 +26,7 @@ import (
var Exporter *ctl.ExportCommand
func newExportCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command {
Exporter = ctl.NewExportCommand(os.Stdin, os.Stdout, os.Stderr)
Exporter = ctl.NewExportCommand(stdin, stdout, stderr)
exportCmd := &cobra.Command{
Use: "export",
Short: "Export data from pilosa.",