add setup() tests

This commit is contained in:
Jordan Whited
2020-05-27 13:03:24 -07:00
parent eacaffd0e3
commit 1c759627ec
2 changed files with 42 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ func setup(c *caddy.Controller) error {
client, err := wgctrl.New()
if err != nil {
return plugin.Error("wgsd",
fmt.Errorf("wgsd: error constructing wgctrl client: %v",
fmt.Errorf("error constructing wgctrl client: %v",
err))
}