Skip to content
Commit 983dcba3 authored by Patrick Bajao's avatar Patrick Bajao
Browse files

Handle cases when authorized_keys doesn't exist

Modify Gitlab::AuthorizedKeys#rm_key and #list_key_ids to
handle cases when an `Errno::ENOENT` is raised.

Also added test cases in spec to ensure each method will
still work when authorized_keys doesn't exist.
parent dd43abec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment