From d3211fc37fa85bb6e3e5b4b96ac81a78b06ededa Mon Sep 17 00:00:00 2001 From: 1-6 Date: Wed, 26 Jul 2023 15:24:39 +0800 Subject: [PATCH] x --- core/grpc_plugins.go | 2 +- core/plugin_core.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/grpc_plugins.go b/core/grpc_plugins.go index 53693b6..2aebec5 100644 --- a/core/grpc_plugins.go +++ b/core/grpc_plugins.go @@ -164,7 +164,7 @@ func RemNodePlugin(name string) error { pluginLock.Lock() defer pluginLock.Unlock() key := nameUuid(name) - plugins_id.Delete(key) + // plugins_id.Delete(key) // fmt.Println("rem", key, name) for i := range Functions { if Functions[i].UUID == key { diff --git a/core/plugin_core.go b/core/plugin_core.go index d3a3f27..f24c2fb 100644 --- a/core/plugin_core.go +++ b/core/plugin_core.go @@ -121,7 +121,6 @@ func initPlugins() { fmt.Println("WriteFile", []byte(new)) os.WriteFile(filename, []byte(new), 0755) } - return &storage.Final{ Now: "", }