Skip to content

Pymongo 3.x support #50

@tzhanglinx

Description

@tzhanglinx

hello
my os is dibian 6.0 ,exec sysprobe.py start error
/opt/inkscope/bin/sysprobe.py:151: DeprecationWarning: update is deprecated. Use
replace_one, update_one or update_many instead.
db.partitions.update({"_id": hostname+":"+p.device}, {"$set": {"stat": DBRef("
partitionstat", partstat_id)}})
/opt/inkscope/bin/sysprobe.py:99: DeprecationWarning: update is deprecated. Use
replace_one, update_one or update_many instead.
db.hosts.update({"_id": hostname}, {"$set": {"mem": DBRef("memstat", mem_id)}}
)
/opt/inkscope/bin/sysprobe.py:425: DeprecationWarning: insert is deprecated. Use
insert_one or insert_many instead.
disk_stat_id = db.diskstat.insert(diskstat)
/opt/inkscope/bin/sysprobe.py:426: DeprecationWarning: update is deprecated. Use
replace_one, update_one or update_many instead.
db.disks.update({"_id": d["_id"]}, {"$set": {"stat": DBRef("diskstat", disk_st
at_id)}})

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions