diff --git a/opensearch-operator/pkg/reconcilers/indextemplate.go b/opensearch-operator/pkg/reconcilers/indextemplate.go index 0ab855ae..b49c629b 100644 --- a/opensearch-operator/pkg/reconcilers/indextemplate.go +++ b/opensearch-operator/pkg/reconcilers/indextemplate.go @@ -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())))