context -> input

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones 2021-12-16 13:26:10 -07:00
parent a7e285e787
commit d43bc7dc53
No known key found for this signature in database
GPG Key ID: CFB3A382EB166F4C

View File

@ -59,7 +59,7 @@ func (p *Plan) Source() *compiler.Value {
// registerLocalDirectories scans the context for local imports. // registerLocalDirectories scans the context for local imports.
// BuildKit requires to known the list of directories ahead of time. // BuildKit requires to known the list of directories ahead of time.
func (p *Plan) registerLocalDirs() error { func (p *Plan) registerLocalDirs() error {
imports, err := p.source.Lookup("context.imports").Fields() imports, err := p.source.Lookup("input.directories").Fields()
if err != nil { if err != nil {
return err return err
} }