Skip to content

Commit b957f84

Browse files
committed
docs: update plugin template
1 parent eed72ba commit b957f84

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

docs/plugin/templateplugin.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,14 @@ func (d *TemplatePlugin) Connect() error {
7171
d.stopChan = make(chan bool, 1)
7272
}
7373

74-
if d.verbose {
75-
d.logger.Println("connect dummy")
76-
}
74+
d.logger.Println("connect dummy plugin")
7775

7876
return nil
7977
}
8078

8179
// Close will close the service resources if needed
8280
func (d *TemplatePlugin) Close() error {
83-
if d.verbose {
84-
d.logger.Println("close dummy plugin")
85-
}
86-
81+
d.logger.Println("close dummy plugin")
8782
return nil
8883
}
8984

0 commit comments

Comments
 (0)