Skip to content

Commit 061372e

Browse files
author
Arvind Thirumurugan
committed
move comment
1 parent 14abc63 commit 061372e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/crdinstaller/utils/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ func CollectCRDs(crdDirectoryPath, mode string, scheme *runtime.Scheme) ([]apiex
115115

116116
// For hub mode, only collect CRDs whose group has substring kubernetes-fleet.io.
117117
if mode == "hub" {
118+
// special case for multicluster external CRD in hub cluster.
118119
if multiclusterCRD[crdFileName] {
119-
// special case for multicluster external CRD in hub cluster.
120120
crdsToInstall = append(crdsToInstall, *crd)
121121
return nil
122122
}

0 commit comments

Comments
 (0)