From 4576b24f2420639241958340ca9d85db005c5cc1 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Wed, 19 Jan 2022 11:19:09 -0800 Subject: [PATCH] engine/types: revert change based from @aluzzardi feedback Signed-off-by: Sam Alba --- pkg/dagger.io/dagger/engine/types.cue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/dagger.io/dagger/engine/types.cue b/pkg/dagger.io/dagger/engine/types.cue index 15670df0..4c13245c 100644 --- a/pkg/dagger.io/dagger/engine/types.cue +++ b/pkg/dagger.io/dagger/engine/types.cue @@ -7,7 +7,7 @@ package engine // - A directory containing binary artifacts // Rule of thumb: if it fits in a tar archive, it fits in a #FS. #FS: { - $dagger: fs: _id: !="" | null + $dagger: fs: _id: string | null } // A reference to an external secret, for example: @@ -17,7 +17,7 @@ package engine // Secrets are never merged in the Cue tree. They can only be used // by a special filesystem mount designed to minimize leak risk. #Secret: { - $dagger: secret: _id: !="" + $dagger: secret: _id: string } // A reference to a network service endpoint, for example: @@ -25,5 +25,5 @@ package engine // - A unix or npipe socket // - An HTTPS endpoint #Service: { - $dagger: service: _id: !="" + $dagger: service: _id: string }