Explorar el Código

fix _index method miss body params in elasticsearch backend (#3606)

何翔宇(Sean Ho) hace 8 años
padre
commit
574ff78e2a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      celery/backends/elasticsearch.py

+ 1 - 0
celery/backends/elasticsearch.py

@@ -91,6 +91,7 @@ class ElasticsearchBackend(KeyValueStoreBackend):
         return self.server.index(
             index=self.index,
             doc_type=self.doc_type,
+            body=body,
             **kwargs
         )