Remove unused variable for junos_user (#62311)

This isn't used any place, lets remove it to fix lint checks on our
network collections.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pull/62361/head
Paul Belanger 5 years ago committed by GitHub
parent b1afb37ac9
commit 119acc1afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -233,7 +233,7 @@ def map_obj_to_ele(module, want):
ssh_rsa = SubElement(auth, 'ssh-ecdsa') ssh_rsa = SubElement(auth, 'ssh-ecdsa')
elif 'ssh-ed25519' in item['sshkey']: elif 'ssh-ed25519' in item['sshkey']:
ssh_rsa = SubElement(auth, 'ssh-ed25519') ssh_rsa = SubElement(auth, 'ssh-ed25519')
key = SubElement(ssh_rsa, 'name').text = item['sshkey'] SubElement(ssh_rsa, 'name').text = item['sshkey']
if item.get('encrypted_password'): if item.get('encrypted_password'):
auth = SubElement(user, 'authentication') auth = SubElement(user, 'authentication')

Loading…
Cancel
Save