From d43bc7dc539cfc3cff62c316d461b99426298322 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 16 Dec 2021 13:26:10 -0700 Subject: [PATCH] context -> input Signed-off-by: Richard Jones --- plan/plan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plan/plan.go b/plan/plan.go index 483afe7d..ab749426 100644 --- a/plan/plan.go +++ b/plan/plan.go @@ -59,7 +59,7 @@ func (p *Plan) Source() *compiler.Value { // registerLocalDirectories scans the context for local imports. // BuildKit requires to known the list of directories ahead of time. func (p *Plan) registerLocalDirs() error { - imports, err := p.source.Lookup("context.imports").Fields() + imports, err := p.source.Lookup("input.directories").Fields() if err != nil { return err }