summaryrefslogtreecommitdiff
path: root/app/services/clusters/applications/schedule_installation_service.rb
blob: 9c5461e85e18be8b9f0e4e45d035bb9b91ea2395 (plain)
1
2
3
4
5
6
7
8
9
10
11
module Clusters
  module Applications
    class ScheduleInstallationService < ::BaseService
      def execute(application)
        application.make_scheduled!

        ClusterInstallAppWorker.perform_async(application.name, application.id)
      end
    end
  end
end