Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
use the right map
Browse files Browse the repository at this point in the history
  • Loading branch information
bketelsen authored and rawkode committed Sep 7, 2021
1 parent 63b46c9 commit 46f8dbe
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions content/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down Expand Up @@ -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{},
Expand Down

0 comments on commit 46f8dbe

Please sign in to comment.