Removed references to restore from influxd's main.go, which was causing compile issues.
parent
9fd651277b
commit
83cca53e9e
|
@ -14,7 +14,6 @@ import (
|
||||||
|
|
||||||
"github.com/influxdb/influxdb/cmd/influxd/backup"
|
"github.com/influxdb/influxdb/cmd/influxd/backup"
|
||||||
"github.com/influxdb/influxdb/cmd/influxd/help"
|
"github.com/influxdb/influxdb/cmd/influxd/help"
|
||||||
"github.com/influxdb/influxdb/cmd/influxd/restore"
|
|
||||||
"github.com/influxdb/influxdb/cmd/influxd/run"
|
"github.com/influxdb/influxdb/cmd/influxd/run"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -119,11 +118,6 @@ func (m *Main) Run(args ...string) error {
|
||||||
if err := name.Run(args...); err != nil {
|
if err := name.Run(args...); err != nil {
|
||||||
return fmt.Errorf("backup: %s", err)
|
return fmt.Errorf("backup: %s", err)
|
||||||
}
|
}
|
||||||
case "restore":
|
|
||||||
name := restore.NewCommand()
|
|
||||||
if err := name.Run(args...); err != nil {
|
|
||||||
return fmt.Errorf("restore: %s", err)
|
|
||||||
}
|
|
||||||
case "config":
|
case "config":
|
||||||
if err := run.NewPrintConfigCommand().Run(args...); err != nil {
|
if err := run.NewPrintConfigCommand().Run(args...); err != nil {
|
||||||
return fmt.Errorf("config: %s", err)
|
return fmt.Errorf("config: %s", err)
|
||||||
|
|
Loading…
Reference in New Issue