Skip to content

Commit 65de9ba

Browse files
committed
fixup! feat: add audit diffing for all user editable types
1 parent 2dba7ed commit 65de9ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/audit/diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func diffValues[T any](left, right T, table Table) Map {
100100

101101
// convertDiffType converts external struct types to primitive types.
102102
//nolint:forcetypeassert
103-
func convertDiffType(left, right any) (newLeft, newRight any, ok bool) {
103+
func convertDiffType(left, right any) (newLeft, newRight any, changed bool) {
104104
switch typed := left.(type) {
105105
case uuid.UUID:
106106
return typed.String(), right.(uuid.UUID).String(), true

0 commit comments

Comments
 (0)