diff options
author | Martin Basti <mbasti@redhat.com> | 2016-03-02 17:26:33 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-03-04 13:20:49 +0100 |
commit | 2211e9a6fafb4ea86053ad1cd1951c1c2d45f430 (patch) | |
tree | a4608d57dae6d14cdc4751f41d48db8caa6f4969 /client | |
parent | 2c8e100c73ee1f0c9b57a0aabfc8ab8820e80687 (diff) | |
download | freeipa-2211e9a6fafb4ea86053ad1cd1951c1c2d45f430.tar.gz freeipa-2211e9a6fafb4ea86053ad1cd1951c1c2d45f430.tar.xz freeipa-2211e9a6fafb4ea86053ad1cd1951c1c2d45f430.zip |
Remove unused arguments from update_ssh_keys method
First argumet has been unused and can be safely removed, because server
is not used for nsupdate anymore
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'client')
-rwxr-xr-x | client/ipa-client-install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/ipa-client-install b/client/ipa-client-install index 44ddeb956..48c325f53 100755 --- a/client/ipa-client-install +++ b/client/ipa-client-install @@ -1776,7 +1776,8 @@ def check_ip_addresses(options): return False return True -def update_ssh_keys(server, hostname, ssh_dir, create_sshfp): + +def update_ssh_keys(hostname, ssh_dir, create_sshfp): if not os.path.isdir(ssh_dir): return @@ -2887,7 +2888,8 @@ def install(options, env, fstore, statestore): configure_certmonger(fstore, subject_base, cli_realm, hostname, options, ca_enabled) - update_ssh_keys(cli_server[0], hostname, services.knownservices.sshd.get_config_dir(), options.create_sshfp) + update_ssh_keys(hostname, services.knownservices.sshd.get_config_dir(), + options.create_sshfp) try: os.remove(CCACHE_FILE) |