From e0d2b5cd3b71f1313545f48d23e3257c50914c61 Mon Sep 17 00:00:00 2001 From: Ben Gesoff Date: Sun, 13 Mar 2022 21:32:46 +0000 Subject: [PATCH] docs: fix typo in snippet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The reference to `docker.Copy` does not exist and should be `docker.#Copy` instead. This also leads to a confusing error message (possibly related to #493) as it isn't found while CUE is compiled, and instead results in the following runtime error: ``` [✗] actions.deps 2.1s 9:16PM FTL failed to execute plan: task failed: actions.deps._dag."2"._exec: invalid FS at path "actions.deps._dag.\"2\"._exec.input": FS is not set ``` Signed-off-by: Ben Gesoff --- docs/tests/core-concepts/client/plans/fs.cue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tests/core-concepts/client/plans/fs.cue b/docs/tests/core-concepts/client/plans/fs.cue index 669eb2cd..7a5a756c 100644 --- a/docs/tests/core-concepts/client/plans/fs.cue +++ b/docs/tests/core-concepts/client/plans/fs.cue @@ -7,7 +7,7 @@ dagger.#Plan & { } actions: { - copy: docker.Copy & { + copy: docker.#Copy & { contents: client.filesystem.".".read.contents } // ...