From c2d2a6ea8603dc2fcc74952d2f95e21e297c5857 Mon Sep 17 00:00:00 2001 From: linyows Date: Fri, 6 Oct 2023 15:12:11 +0900 Subject: [PATCH] typo --- plugins.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins.go b/plugins.go index 1b0214f..b532a92 100644 --- a/plugins.go +++ b/plugins.go @@ -48,7 +48,7 @@ func (p *Plugins) isDirExists() bool { } func (p *Plugins) setPath() { - p.path = "/opt/warp/plugin" + p.path = "/opt/warp/plugins" path := os.Getenv("PLUGIN_PATH") if path != "" { p.path = path @@ -94,7 +94,7 @@ func (p *Plugins) load() error { plug, err := p.lookup(n) if err != nil { - fmt.Printf("plugin load error(%s): %#v\n", n, err) + fmt.Printf("plugin load error(%s): %s\n", n, err) continue }