Rename dagger.#Service
to dagger.#Socket
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
@@ -170,7 +170,7 @@ func (t clientFilesystemReadTask) readService(pctx *plancontext.Context, v *comp
|
||||
case "npipe":
|
||||
npipe = path
|
||||
default:
|
||||
return nil, fmt.Errorf("invalid service type %q", typ)
|
||||
return nil, fmt.Errorf("invalid socket type %q", typ)
|
||||
}
|
||||
|
||||
service := pctx.Services.New(unix, npipe)
|
||||
|
@@ -175,7 +175,7 @@ func (t execTask) mount(pctx *plancontext.Context, dest string, mnt *compiler.Va
|
||||
return t.mountCache(pctx, dest, mnt)
|
||||
case "tmp":
|
||||
return t.mountTmp(pctx, dest, mnt)
|
||||
case "service":
|
||||
case "socket":
|
||||
return t.mountService(pctx, dest, mnt)
|
||||
case "fs":
|
||||
return t.mountFS(pctx, dest, mnt)
|
||||
|
Reference in New Issue
Block a user