We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2.4.6
Restore from backup, e.g. knife ec restore --with-key-sql --with-user-sql
knife ec restore --with-key-sql --with-user-sql
Put an invalid email address in any of the users you're restoring.
I would expect the process to safely handle when a user failed to be created and not error out on the key import process.
An error is thrown and exits the process immediately
The text was updated successfully, but these errors were encountered:
The issue is here
knife-ec-backup/lib/chef/knife/ec_key_import.rb
Line 132 in ed16dea
The user is not found and then #[](:id) is called on nil and throws an exception.
#[](:id)
nil
Sorry, something went wrong.
No branches or pull requests
Version:
v2.4.6
Environment:
Scenario:
Restore from backup, e.g.
knife ec restore --with-key-sql --with-user-sql
Steps to Reproduce:
Put an invalid email address in any of the users you're restoring.
Expected Result:
I would expect the process to safely handle when a user failed to be created and not error out on the key import process.
Actual Result:
An error is thrown and exits the process immediately
The text was updated successfully, but these errors were encountered: