Improve migration error message (#2959)

In this migration we have checked for legacy security_keys and not gid. This makes it easier for users to understand what the issue is.
This commit is contained in:
cuberoot74088 2024-08-08 23:43:03 +02:00 committed by William Brown
parent eed7c07156
commit dc89ff8e47

View file

@ -826,7 +826,7 @@ impl<'a> QueryServerWriteTransaction<'a> {
.collect::<Vec<_>>();
if !affected_entries.is_empty() {
error!("Unable to proceed. Not all entries meet gid/uid constraints.");
error!("Unable to proceed. Some accounts still use legacy security keys, which need to be removed.");
for sk_present in affected_entries {
error!(%sk_present);
}