mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
remove fixed FIXME
This commit is contained in:
parent
68d86e81fb
commit
b9d8d99b04
@ -146,13 +146,6 @@ func NewContext(opts *ContextOpts) (*Context, tfdiags.Diagnostics) {
|
||||
}
|
||||
|
||||
func (c *Context) Schemas(config *configs.Config, state *states.State) (*Schemas, tfdiags.Diagnostics) {
|
||||
// FIXME: This method gets called multiple times on the same context with
|
||||
// the same inputs by different parts of Terraform that all need the
|
||||
// schemas, and it's typically quite expensive because it has to spin up
|
||||
// plugins to gather their schemas, so it'd be good to have some caching
|
||||
// here to remember plugin schemas we already loaded since the plugin
|
||||
// selections can't change during the life of a *Context object.
|
||||
|
||||
var diags tfdiags.Diagnostics
|
||||
|
||||
ret, err := loadSchemas(config, state, c.plugins)
|
||||
|
Loading…
Reference in New Issue
Block a user