DX: change "#dagger: compute: " to "#compute: "

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes
2021-02-12 23:22:41 +00:00
parent 3f445f2421
commit 7a77466a66
81 changed files with 176 additions and 229 deletions

View File

@@ -41,7 +41,7 @@ func (p *Pipeline) FS() FS {
}
func isComponent(v *compiler.Value) bool {
return v.Get("#dagger.compute").Exists()
return v.Get("#compute").Exists()
}
func ops(code ...*compiler.Value) ([]*compiler.Value, error) {
@@ -50,7 +50,7 @@ func ops(code ...*compiler.Value) ([]*compiler.Value, error) {
for _, x := range code {
// 1. attachment array
if isComponent(x) {
xops, err := x.Get("#dagger.compute").List()
xops, err := x.Get("#compute").List()
if err != nil {
return nil, err
}