Skip to content

Commit daaca27

Browse files
update DesiredImage tag to include 'omitempty'
1 parent 7879c22 commit daaca27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

machineconfiguration/v1/types_machineconfignode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ type MachineConfigNodeSpecConfigImage struct {
271271
// It must be a fully qualified OCI image pull spec of the format host[:port][/namespace]/name@sha256:, where the digest must be exactly 64 characters in length and consist only of lowercase hexadecimal characters, a-f and 0-9.
272272
// desiredImage must not be an empty string and must not exceed 447 characters in length.
273273
// +required
274-
DesiredImage ImageDigestFormat `json:"desiredImage"`
274+
DesiredImage ImageDigestFormat `json:"desiredImage,omitempty"`
275275
}
276276

277277
// MachineConfigNodeStatusConfigImage holds the observed state of the image

0 commit comments

Comments
 (0)