Skip to content
Snippets Groups Projects
Commit e6616e04 authored by Alessio Caiazza's avatar Alessio Caiazza
Browse files

Fix typos

parent 44f885ef
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
 
Loading
Loading
Loading
Loading
@@ -40,7 +40,7 @@ module Clusters
end
end
 
def finilize_installation
def finalize_installation
FinalizeInstallationService.new(app).execute
end
 
Loading
Loading
Loading
Loading
@@ -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)
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment