telefonicaid / iotagent-manager

IoT Agent Manager to use as proxy for multiple IoTAgents with different protocols
GNU Affero General Public License v3.0
7 stars 8 forks source link

DeprecationWarning: collection.count using mongo 4.X #204

Closed AlvaroVega closed 3 years ago

AlvaroVega commented 4 years ago

iot-iotagent-manager        | (node:16) DeprecationWarning: collection.count is deprecated, and will be removed in a future version. Use Collection.countDocuments or Collection.estimatedDocumentCount instead
``
fgalan commented 3 years ago

Fixed by PR https://github.com/telefonicaid/iotagent-manager/pull/231

AlvaroVega commented 3 years ago

Reopen this issue after this PR https://github.com/telefonicaid/iotagent-manager/pull/242

fgalan commented 3 years ago

PR https://github.com/telefonicaid/iotagent-manager/pull/243 solves this. Closing.