Verified Commit f6b2cbee authored by Huste, Tobias (FWCC) - 111645's avatar Huste, Tobias (FWCC) - 111645
Browse files

key deletion: exit status request always threw an exception

- fix it by calling the correct function
parent 086c652e
Pipeline #2096 passed with stage
in 15 minutes and 20 seconds
......@@ -80,7 +80,7 @@ def delete_ssh_key(remote):
current_app.logger.error('Command: {0}'.format(command))
stdin, stdout, stderr = client.exec_command(command)
if stdout.recv_exit_status != 0:
if != 0:
flash('Something went wrong on our side. Please check '
'manually if the public key was removed successfully.',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment