diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/demo.js | 2 | ||||
-rwxr-xr-x | examples/demo.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/demo.js b/examples/demo.js index 16c1989..070c880 100755 --- a/examples/demo.js +++ b/examples/demo.js @@ -38,7 +38,7 @@ var drvclass = "network" //var drvclass = "audio" var os = db.get_os(osid) -var hv = db.get_hypervisor(hvid) +var hv = db.get_platform(hvid) var filter = new osinfo.Filter() filter.add_constraint("class", drvclass) diff --git a/examples/demo.py b/examples/demo.py index 10a055d..a361db1 100755 --- a/examples/demo.py +++ b/examples/demo.py @@ -34,7 +34,7 @@ drvclass = "network" #drvclass = "audio" os = db.get_os(osid) -hv = db.get_hypervisor(hvid) +hv = db.get_platform(hvid) fltr = osinfo.Filter() fltr.add_constraint("class", drvclass) |