fix build after rebase

pull/5428/head
David Norton 2016-01-21 15:38:13 -05:00
parent 8456169855
commit 914a9a1de6
1 changed files with 1 additions and 8 deletions

View File

@ -14,7 +14,7 @@ import (
"strings"
"time"
"github.com/influxdb/influxdb/meta"
"github.com/influxdb/influxdb/services/meta"
"github.com/influxdb/influxdb/services/snapshotter"
"github.com/influxdb/influxdb/tcp"
)
@ -295,13 +295,6 @@ func (cmd *Command) download(req *snapshotter.Request, path string) error {
}
defer conn.Close()
// Create local file to write to.
f, err := os.Create(path)
if err != nil {
return fmt.Errorf("open temp file: %s", err)
}
defer f.Close()
// Write the request
if err := json.NewEncoder(conn).Encode(req); err != nil {
return fmt.Errorf("encode snapshot request: %s", err)