Skip to content
Snippets Groups Projects
Commit 29dbf391 authored by Christel Loftus's avatar Christel Loftus
Browse files

#1784 - updating original and new interface

parent 62f2794f
No related branches found
No related tags found
1 merge request!43Audit changes move to utils
This commit is part of merge request !43. Comments created here will be created in the context of that merge request.
......@@ -41,8 +41,8 @@ func VerifyAuditEvents(original interface{}, new interface{}) error {
func GetChanges(original interface{}, new interface{}) (map[string]interface{}, error) {
// Clean audit events
cleanStruct(original)
cleanStruct(new)
original = cleanStruct(original)
new = cleanStruct(new)
changes := map[string]interface{}{}
changelog, err := diff.Diff(original, new)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment