Skip to content

Commit c3d0b48

Browse files
Marko Mikulicicmpvl
authored andcommitted
doc/tutorial/kubernetes: fix typo
Change-Id: I8039c90369a160341cce93381dcd7277cd26a062 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/2520 Reviewed-by: Marcel van Lohuizen <[email protected]>
1 parent f06f781 commit c3d0b48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial/kubernetes/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ configMap prometheus: {
186186

187187
That looks better!
188188
The resulting configuration file replaces the original embedded string
189-
with a call to `yaml.Unmarshal` converting a structured CUE source to
189+
with a call to `yaml.Marshal` converting a structured CUE source to
190190
a string with an equivalent YAML file.
191191
Fields starting with an underscore (`_`) are not included when emitting
192192
a configuration file (they are when enclosed in double quotes).
@@ -248,7 +248,7 @@ $ cat <<EOF > kube.cue
248248
package kube
249249
250250
service <Name>: {
251-
apiVersion: "v1"
251+
apiVersion: "v1"
252252
kind: "Service"
253253
metadata: {
254254
name: Name

0 commit comments

Comments
 (0)