summaryrefslogtreecommitdiff
path: root/app/services/clusters/finalize_app_installation_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/clusters/finalize_app_installation_service.rb')
-rw-r--r--app/services/clusters/finalize_app_installation_service.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/services/clusters/finalize_app_installation_service.rb b/app/services/clusters/finalize_app_installation_service.rb
deleted file mode 100644
index b9d5da063eb..00000000000
--- a/app/services/clusters/finalize_app_installation_service.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-module Clusters
- class FinalizeAppInstallationService < BaseHelmService
- def execute
- helm_api.delete_installation_pod!(app)
-
- app.make_errored!('Installation aborted') if aborted?
- end
-
- private
-
- def aborted?
- app.installing? || app.scheduled?
- end
- end
-end