From 8c337160ac4407faa1ceb5169a03eff07ac3ab1b Mon Sep 17 00:00:00 2001 From: godcong Date: Sat, 17 Jul 2021 17:20:58 +0800 Subject: [PATCH] fix document error --- plugin/loader/loader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/loader/loader.go b/plugin/loader/loader.go index 553e6c7ea..14b7c18f5 100644 --- a/plugin/loader/loader.go +++ b/plugin/loader/loader.go @@ -298,7 +298,7 @@ func (loader *PluginLoader) Start(node *core.IpfsNode) error { return loader.transition(loaderStarting, loaderStarted) } -// StopDaemon stops all long-running plugins. +// Close stops all long-running plugins. func (loader *PluginLoader) Close() error { switch loader.state { case loaderClosing, loaderFailed, loaderClosed: