Skip to content

Commit d981270

Browse files
qhagreenbonebot
authored andcommitted
doc: Repair name of nvt_oid argument in pydoc
... for create_override() and create_note().
1 parent 4431b95 commit d981270

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

gvm/protocols/gmp/_gmp224.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ def create_note(
10801080
10811081
Args:
10821082
text: Text of the new note
1083-
nvt_id: OID of the nvt to which note applies
1083+
nvt_oid: OID of the nvt to which note applies
10841084
days_active: Days note will be active. -1 on
10851085
always, 0 off
10861086
hosts: A list of host addresses
@@ -1217,7 +1217,7 @@ def create_override(
12171217
12181218
Args:
12191219
text: Text of the new override
1220-
nvt_id: OID of the nvt to which override applies
1220+
nvt_oid: OID of the nvt to which override applies
12211221
days_active: Days override will be active. -1 on always, 0 off
12221222
hosts: A list of host addresses
12231223
port: Port to which the override applies, needs to be a string

gvm/protocols/gmp/requests/v224/_notes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def create_note(
3131
3232
Args:
3333
text: Text of the new note
34-
nvt_id: OID of the nvt to which note applies
34+
nvt_oid: OID of the nvt to which note applies
3535
days_active: Days note will be active. -1 on
3636
always, 0 off
3737
hosts: A list of host addresses

gvm/protocols/gmp/requests/v224/_overrides.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def create_override(
3333
3434
Args:
3535
text: Text of the new override
36-
nvt_id: OID of the nvt to which override applies
36+
nvt_oid: OID of the nvt to which override applies
3737
days_active: Days override will be active. -1 on always, 0 off
3838
hosts: A list of host addresses
3939
port: Port to which the override applies, needs to be a string

0 commit comments

Comments
 (0)