input to inputs

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones
2021-12-17 11:24:50 -07:00
parent 3c0d9c5acc
commit 03a740ff1e
6 changed files with 30 additions and 9 deletions

View File

@@ -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("input.directories").Fields()
imports, err := p.source.Lookup("inputs.directories").Fields()
if err != nil {
return err
}