Move all server and controller packages into top-level

This commit is contained in:
Harshavardhana
2015-09-19 00:52:01 -07:00
parent d808c3685d
commit d54488f144
80 changed files with 20431 additions and 258 deletions

View File

@@ -16,10 +16,7 @@
package main
import (
"github.com/minio/cli"
"github.com/minio/minio/pkg/controller"
)
import "github.com/minio/cli"
var controllerCmd = cli.Command{
Name: "controller",
@@ -43,6 +40,6 @@ func controllerMain(c *cli.Context) {
cli.ShowCommandHelpAndExit(c, "controller", 1)
}
err := controller.Start()
err := StartController()
errorIf(err.Trace(), "Failed to start minio controller.", nil)
}