13 lines
275 B
Ruby
13 lines
275 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class ClusterProjectConfigureWorker
|
||
|
include ApplicationWorker
|
||
|
include ClusterQueue
|
||
|
|
||
|
def perform(project_id)
|
||
|
project = Project.find(project_id)
|
||
|
|
||
|
::Clusters::RefreshService.create_or_update_namespaces_for_project(project)
|
||
|
end
|
||
|
end
|