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 b216a0b commit b514b30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opensearch-operator/pkg/reconcilers/indextemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ 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: %v", cmp.Equal(request.Template.Settings.String(), response.IndexTemplate.Template.Settings.String(), 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("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 b514b30

Please sign in to comment.