BigW Consortium Gitlab

Commit e6616e04 by Alessio Caiazza

Fix typos

parent 44f885ef
......@@ -5,17 +5,13 @@ class Projects::Clusters::ApplicationsController < Projects::ApplicationControll
before_action :authorize_create_cluster!, only: [:create]
def create
respond_to do |format|
format.json do
scheduled = Clusters::Applications::ScheduleInstallationService.new(project, current_user,
application_class: @application_class,
cluster: @cluster).execute
if scheduled
head :no_data
else
head :bad_request
end
end
scheduled = Clusters::Applications::ScheduleInstallationService.new(project, current_user,
application_class: @application_class,
cluster: @cluster).execute
if scheduled
head :no_data
else
head :bad_request
end
end
......
......@@ -40,7 +40,7 @@ module Clusters
end
end
def finilize_installation
def finalize_installation
FinalizeInstallationService.new(app).execute
end
......
......@@ -3,7 +3,7 @@ class ClusterWaitForAppInstallationWorker
include ClusterQueue
include ClusterApplications
INTERVAL = 30.seconds
INTERVAL = 10.seconds
TIMEOUT = 20.minutes
def perform(app_name, app_id)
......
......@@ -192,7 +192,7 @@ constraints(ProjectUrlConstrainer.new) do
get :status, format: :json
scope :applications do
get '/*application', to: 'clusters/applications#create'
post '/*application', to: 'clusters/applications#create'
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment