From 0de625e1c355caa6ff2e13885106170c48cb51c7 Mon Sep 17 00:00:00 2001 From: Joel Longtine Date: Thu, 27 Jan 2022 13:27:28 -0700 Subject: [PATCH] cue fmt Signed-off-by: Joel Longtine --- pkg/universe.dagger.io/docker/run.cue | 6 +++--- pkg/universe.dagger.io/docker/test/image-config-test.cue | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/pkg/universe.dagger.io/docker/run.cue b/pkg/universe.dagger.io/docker/run.cue index 57a833b1..c7ecf876 100644 --- a/pkg/universe.dagger.io/docker/run.cue +++ b/pkg/universe.dagger.io/docker/run.cue @@ -154,17 +154,17 @@ import ( let k = split[0] let v = split[1] if env[k] == _|_ { - "env": "\(k)": v + env: "\(k)": v } } } "workdir": workdir if workdir == _|_ && _image.config.WorkingDir != _|_ { - "workdir": _image.config.WorkingDir + workdir: _image.config.WorkingDir } "user": user if user == _|_ && _image.config.User != _|_ { - "user": _image.config.User + user: _image.config.User } } } diff --git a/pkg/universe.dagger.io/docker/test/image-config-test.cue b/pkg/universe.dagger.io/docker/test/image-config-test.cue index aa162362..934867f4 100644 --- a/pkg/universe.dagger.io/docker/test/image-config-test.cue +++ b/pkg/universe.dagger.io/docker/test/image-config-test.cue @@ -27,9 +27,7 @@ dagger.#Plan & { } run: docker.#Run & { image: myimage - cmd: { - name: "ls" - } + cmd: name: "ls" export: files: { "/dagger.txt": _ & { contents: "not hello from dagger"