Commit 8a91e5d7d0d8f6b395588446f94749170b32821e

Authored by Dmitriy Zaporozhets
1 parent b26abe8f

Fix DeleteFile satellite action

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
lib/gitlab/satellite/files/delete_file_action.rb
... ... @@ -20,7 +20,7 @@ module Gitlab
20 20 File.delete(file_path_in_satellite)
21 21  
22 22 # add removed file
23   - repo.add(file_path_in_satellite)
  23 + repo.remove(file_path_in_satellite)
24 24  
25 25 # commit the changes
26 26 # will raise CommandFailed when commit fails
... ...