Skip to content

Commit

Permalink
debug operator
Browse files Browse the repository at this point in the history
  • Loading branch information
rkthtrifork committed Aug 28, 2024
1 parent f521133 commit fa4368c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions opensearch-operator/pkg/reconcilers/indextemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,7 @@ func (r *IndexTemplateReconciler) equal(request *requests.IndexTemplate, respons
logger.Info(fmt.Sprintf("DataStream: %v", cmp.Equal(request.DataStream, response.IndexTemplate.DataStream, cmpopts.EquateEmpty())))
logger.Info(fmt.Sprintf("Template: %v", cmp.Equal(request.Template, response.IndexTemplate.Template, cmpopts.EquateEmpty())))
logger.Info(fmt.Sprintf("Template.Settings: %v", cmp.Equal(request.Template.Settings, response.IndexTemplate.Template.Settings, cmpopts.EquateEmpty())))
logger.Info(fmt.Sprintf("Template.Settings string new: %s", request.Template.Settings.String()))
logger.Info(fmt.Sprintf("Template.Settings string existing: %s", response.IndexTemplate.Template.Settings.String()))
logger.Info(fmt.Sprintf("Template.Mappings string new: %s", request.Template.Mappings.String()))
logger.Info(fmt.Sprintf("Template.Mappings string existing: %s", response.IndexTemplate.Template.Mappings.String()))
logger.Info(fmt.Sprintf("Template.Mappings: %v", cmp.Equal(request.Template.Mappings, response.IndexTemplate.Template.Mappings, cmpopts.EquateEmpty())))
logger.Info(fmt.Sprintf("ComposedOf: %v", cmp.Equal(request.ComposedOf, response.IndexTemplate.ComposedOf, cmpopts.EquateEmpty())))
logger.Info(fmt.Sprintf("Priority: %v", cmp.Equal(request.Priority, response.IndexTemplate.Priority, cmpopts.EquateEmpty())))
logger.Info(fmt.Sprintf("Version: %v", cmp.Equal(request.Version, response.IndexTemplate.Version, cmpopts.EquateEmpty())))
Expand Down

0 comments on commit fa4368c

Please sign in to comment.