From c4169cc9bc2fdac4e372d44cd58056282071f45e Mon Sep 17 00:00:00 2001 From: Ulrik Haugen Date: Tue, 31 Mar 2026 18:08:49 +0200 Subject: [PATCH] doc: Repair name of nvt_oid argument in pydoc ... for create_override() and create_note(). --- gvm/protocols/gmp/_gmp224.py | 4 ++-- gvm/protocols/gmp/requests/v224/_notes.py | 2 +- gvm/protocols/gmp/requests/v224/_overrides.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gvm/protocols/gmp/_gmp224.py b/gvm/protocols/gmp/_gmp224.py index f235fbf72..3571db249 100644 --- a/gvm/protocols/gmp/_gmp224.py +++ b/gvm/protocols/gmp/_gmp224.py @@ -1080,7 +1080,7 @@ def create_note( Args: text: Text of the new note - nvt_id: OID of the nvt to which note applies + nvt_oid: OID of the nvt to which note applies days_active: Days note will be active. -1 on always, 0 off hosts: A list of host addresses @@ -1217,7 +1217,7 @@ def create_override( Args: text: Text of the new override - nvt_id: OID of the nvt to which override applies + nvt_oid: OID of the nvt to which override applies days_active: Days override will be active. -1 on always, 0 off hosts: A list of host addresses port: Port to which the override applies, needs to be a string diff --git a/gvm/protocols/gmp/requests/v224/_notes.py b/gvm/protocols/gmp/requests/v224/_notes.py index 846daaa67..8f86c2249 100644 --- a/gvm/protocols/gmp/requests/v224/_notes.py +++ b/gvm/protocols/gmp/requests/v224/_notes.py @@ -31,7 +31,7 @@ def create_note( Args: text: Text of the new note - nvt_id: OID of the nvt to which note applies + nvt_oid: OID of the nvt to which note applies days_active: Days note will be active. -1 on always, 0 off hosts: A list of host addresses diff --git a/gvm/protocols/gmp/requests/v224/_overrides.py b/gvm/protocols/gmp/requests/v224/_overrides.py index 9be5ee25d..10da9a25c 100644 --- a/gvm/protocols/gmp/requests/v224/_overrides.py +++ b/gvm/protocols/gmp/requests/v224/_overrides.py @@ -33,7 +33,7 @@ def create_override( Args: text: Text of the new override - nvt_id: OID of the nvt to which override applies + nvt_oid: OID of the nvt to which override applies days_active: Days override will be active. -1 on always, 0 off hosts: A list of host addresses port: Port to which the override applies, needs to be a string