diff --git a/plugins/reindexer/dao.go b/plugins/reindexer/dao.go index 643f400f..7feb704f 100644 --- a/plugins/reindexer/dao.go +++ b/plugins/reindexer/dao.go @@ -157,7 +157,7 @@ func reindex(ctx context.Context, sourceIndex string, config *reindexConfig, wai // do not copy data if !(len(config.Action) == 0 || found) { - return nil, nil + return json.Marshal(make(map[string]interface{})) } // Configure reindex source