-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt modify_tag to implementation #127
Conversation
Adapt the parameter validation in `modify_tag` to the actual implementation in `gmvd` and adjust tests and documentation accordingly. The previous implementation refused a number of combinations which are are accepted by the `gvmd` from GVM-10. Most notably, the `resource_type` is rarely required, in contrast to the `create_tag` command. Also, sending *only* the `resource_type` is acceptable for modifying the type of resource a tag is intended for.
Codecov Report
@@ Coverage Diff @@
## master #127 +/- ##
=========================================
- Coverage 96.4% 96.4% -0.01%
=========================================
Files 10 10
Lines 2479 2478 -1
=========================================
- Hits 2390 2389 -1
Misses 89 89
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #127 +/- ##
=========================================
- Coverage 96.4% 96.4% -0.01%
=========================================
Files 10 10
Lines 2479 2478 -1
=========================================
- Hits 2390 2389 -1
Misses 89 89
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some formatting changes should be updated caused by black reformatting.
Co-Authored-By: wiegandm <wiegandm@users.noreply.github.com>
Co-Authored-By: wiegandm <wiegandm@users.noreply.github.com>
Co-Authored-By: wiegandm <wiegandm@users.noreply.github.com>
Co-Authored-By: wiegandm <wiegandm@users.noreply.github.com>
Co-Authored-By: wiegandm <wiegandm@users.noreply.github.com>
Adapt the parameter validation in
modify_tag
to the actualimplementation in
gmvd
and adjust tests and documentation accordingly.The previous implementation refused a number of combinations which are
are accepted by the
gvmd
from GVM-10. Most notably, theresource_type
is rarely required, in contrast to thecreate_tag
command. Also, sending only the
resource_type
is acceptable formodifying the type of resource a tag is intended for.
Checklist: