Skip to content

Commit e13fe12

Browse files
authored
Merge pull request #320 from projectsyn/fix-duplicate-tenant-name-controller
Fix duplicate controller name `tenant`
1 parent 4e89eb2 commit e13fe12

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

controllers/tenant_compile_pipeline_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ func (r *TenantCompilePipelineReconciler) ensureCiVariables(t *synv1alpha1.Tenan
169169
// SetupWithManager sets up the controller with the Manager.
170170
func (r *TenantCompilePipelineReconciler) SetupWithManager(mgr ctrl.Manager) error {
171171
return ctrl.NewControllerManagedBy(mgr).
172+
Named("tenant_compile_pipeline").
172173
For(&synv1alpha1.Tenant{}).
173174
Owns(&synv1alpha1.Cluster{}).
174175
Complete(r)

0 commit comments

Comments
 (0)