context -> input
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
parent
a7e285e787
commit
d43bc7dc53
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user