File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
cmd/thv-operator/api/v1alpha1 Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -392,27 +392,6 @@ func (r *MCPRegistry) GetAPIResourceName() string {
392392 return fmt .Sprintf ("%s-api" , r .Name )
393393}
394394
395- // IsConfigMapRegistrySource returns true if any registry source is a configmap
396- func (r * MCPRegistry ) IsConfigMapRegistrySource () bool {
397- for _ , registry := range r .Spec .Registries {
398- if registry .ConfigMapRef != nil {
399- return true
400- }
401- }
402- return false
403- }
404-
405- // GetConfigMapSourceName returns the name of the first configmap source
406- // if present, otherwise returns an empty string
407- func (r * MCPRegistry ) GetConfigMapSourceName () string {
408- for _ , registry := range r .Spec .Registries {
409- if registry .ConfigMapRef != nil {
410- return registry .ConfigMapRef .Name
411- }
412- }
413- return ""
414- }
415-
416395// DeriveOverallPhase determines the overall MCPRegistry phase based on sync and API status
417396func (r * MCPRegistry ) DeriveOverallPhase () MCPRegistryPhase {
418397 syncStatus := r .Status .SyncStatus
You can’t perform that action at this time.
0 commit comments