From 46f8dbee59bf00669502351885bd16f9f7ddb944 Mon Sep 17 00:00:00 2001 From: Brian Ketelsen Date: Sat, 28 Aug 2021 07:22:07 -0400 Subject: [PATCH] use the right map --- content/repository.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/content/repository.go b/content/repository.go index 02491f6..c2e9767 100644 --- a/content/repository.go +++ b/content/repository.go @@ -620,7 +620,7 @@ func (s *Service) callPlugin(name, executable string) error { // We're a host! Start by launching the plugin process. client := plugin.NewClient(&plugin.ClientConfig{ HandshakeConfig: shared.PrebuildHandshakeConfig, - Plugins: pluginMap, + Plugins: prePluginMap, Cmd: exec.Command(executable), Logger: logger, }) @@ -701,13 +701,6 @@ func (s *Service) ensureRemote(name, version, repo string) error { return nil } -type BloxImage struct { - FileName string `yaml:"file_name"` - Height int `yaml:"height"` - Width int `yaml:"width"` - CDN string `yaml:"cdn"` -} - // pluginMap is the map of plugins we can dispense. var pluginMap = map[string]plugin.Plugin{ "images": &plugins.PrebuildPlugin{},