Skip to content

Commit

Permalink
Fixing error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
crobby committed Aug 10, 2023
1 parent baf84bf commit 50286a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/clean/active_directory.go
Expand Up @@ -409,7 +409,7 @@ func UnmigrateAdGUIDUsers(clientConfig *restclient.Config, dryRun bool, deleteMi
describePlannedChanges(userToMigrate)
} else {
err = deleteDuplicateUsers(userToMigrate, sc)
if err != nil {
if err == nil {
updateModifiedUser(userToMigrate, sc)
}
}
Expand Down

0 comments on commit 50286a2

Please sign in to comment.