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>
This commit is contained in:
parent
b1afb37ac9
commit
119acc1afe
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue