summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/projects/merge_requests_controller.rb2
-rw-r--r--lib/gitlab/satellite/satellite.rb6
2 files changed, 0 insertions, 8 deletions
diff --git a/app/controllers/projects/merge_requests_controller.rb b/app/controllers/projects/merge_requests_controller.rb
index 872b9500130..745da9c49e4 100644
--- a/app/controllers/projects/merge_requests_controller.rb
+++ b/app/controllers/projects/merge_requests_controller.rb
@@ -108,8 +108,6 @@ class Projects::MergeRequestsController < Projects::ApplicationController
@merge_request.check_if_can_be_merged
end
render json: {merge_status: @merge_request.merge_status_name}
- rescue Gitlab::SatelliteNotExistError
- render json: {merge_status: :no_satellite}
end
def automerge
diff --git a/lib/gitlab/satellite/satellite.rb b/lib/gitlab/satellite/satellite.rb
index 8c62778d90d..c6e4d3351cf 100644
--- a/lib/gitlab/satellite/satellite.rb
+++ b/lib/gitlab/satellite/satellite.rb
@@ -1,10 +1,4 @@
module Gitlab
- class SatelliteNotExistError < StandardError
- def initialize(msg = "Satellite doesn't exist")
- super
- end
- end
-
module Satellite
class Satellite
include Gitlab::Popen