getavalon / docker

Avalon in a Dockerfile
MIT License
5 stars 2 forks source link

Sync task types. #37

Closed tokejepsen closed 6 years ago

tokejepsen commented 6 years ago

Fix for #31

I'm not sure about the implementation since its using pymongo to get the Mongo collection, but doing a .save() on the collection is the easiest way of updating I could find.

Maybe we need to expose a method in avalon-core that returns the collection, to avoid using pymongo?

tokejepsen commented 6 years ago

That should be better now. Replaced .save() with avalon.replace_one().