From eef7eca1c546ad77d8d0c4760903718ccb1d5fbd Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 25 Apr 2022 15:47:29 -0700 Subject: [PATCH] Use dedicated function to check for legacy --- internal/core/basis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/basis.go b/internal/core/basis.go index cc8f85d91..34a451732 100644 --- a/internal/core/basis.go +++ b/internal/core/basis.go @@ -184,7 +184,7 @@ func NewBasis(ctx context.Context, opts ...BasisOption) (b *Basis, err error) { ) // If we have legacy vagrant loaded, configure managers - if b.plugins.LegacyBroker() != nil { + if b.plugins.LegacyEnabled() { // Configure plugins to have plugin manager set (used by legacy) b.plugins.Configure( func(i *plugin.Instance, l hclog.Logger) error {