Register otherplugin in builtins list

This commit is contained in:
Chris Roberts 2021-04-23 15:53:17 -07:00 committed by Paul Hinze
parent 91c4414352
commit c2fe40854f
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -4,6 +4,7 @@ import (
sdk "github.com/hashicorp/vagrant-plugin-sdk"
"github.com/hashicorp/vagrant-plugin-sdk/component"
"github.com/hashicorp/vagrant/builtin/myplugin"
"github.com/hashicorp/vagrant/builtin/otherplugin"
"github.com/hashicorp/vagrant/internal/factory"
)
@ -14,7 +15,8 @@ var (
// Builtins is the map of all available builtin plugins and their
// options for launching them.
Builtins = map[string][]sdk.Option{
"myplugin": myplugin.CommandOptions,
"myplugin": myplugin.CommandOptions,
"otherplugin": otherplugin.CommandOptions,
}
// Rubies is a map of all available plugins accessible via the