host-find: do not show SSH key by default
Only function 'remove_sshpubkey_from_output_list_post' should be used in postcallbacks of *-find, otherwise only one entry will be cleaned up https://fedorahosted.org/freeipa/ticket/6043 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
1 parent
8cd87d12d5
commit
2874fdbfef
1 file changed
-1
@@ -1077,7 +1077,6 @@ class host_find(LDAPSearch):
|
||||
entry_attrs['managing'] = self.obj.get_managed_hosts(entry_attrs.dn)
|
||||
|
||||
convert_sshpubkey_post(entry_attrs)
|
||||
remove_sshpubkey_from_output_post(self.context, entry_attrs)
|
||||
convert_ipaassignedidview_post(entry_attrs, options)
|
||||
|
||||
remove_sshpubkey_from_output_list_post(self.context, entries)
|
||||
|
||||
Reference in new issue
Block a user