From ee3edece001f6a33a55b79b7de87b84370cadaf1 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Wed, 28 Oct 2020 11:21:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=9C=AA=E5=AE=9E=E7=8E=B0?= =?UTF-8?q?=E7=9A=84=E5=91=BD=E4=BB=A4=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/edge-node/main.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/cmd/edge-node/main.go b/cmd/edge-node/main.go index d5f7290..6c182cd 100644 --- a/cmd/edge-node/main.go +++ b/cmd/edge-node/main.go @@ -17,7 +17,7 @@ func main() { app := apps.NewAppCmd(). Version(teaconst.Version). Product(teaconst.ProductName). - Usage(teaconst.ProcessName + " [-v|start|stop|restart|quit|sync|update|test]") + Usage(teaconst.ProcessName + " [-v|start|stop|restart|quit|test]") app.On("test", func() { err := nodes.NewNode().Test() @@ -25,14 +25,6 @@ func main() { _, _ = os.Stderr.WriteString(err.Error()) } }) - app.On("sync", func() { - // TODO - fmt.Println("not implemented yet") - }) - app.On("update", func() { - // TODO - fmt.Println("not implemented yet") - }) app.On("quit", func() { pidFile := Tea.Root + "/bin/pid" data, err := ioutil.ReadFile(pidFile)