Skip to content

Commit 2f8807d

Browse files
docs: clarify null patch normalization
Assisted-by: ChatGPT
1 parent 9c0642c commit 2f8807d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • internal/cmd/agent/deployer/desiredset

internal/cmd/agent/deployer/desiredset/diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ func normalizeNullPatch(
452452
return false, nil
453453
}
454454

455-
// removeNullPatchFields recursively removes null values from patch objects.
455+
// removeNullPatchFields removes null map/object fields from patch objects.
456456
//
457457
// Map behavior:
458458
// - Skips entries with nil values

0 commit comments

Comments
 (0)