Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

API cleanup #30

Merged
merged 4 commits into from
Nov 7, 2018
Merged

API cleanup #30

merged 4 commits into from
Nov 7, 2018

Conversation

bjoernricks
Copy link
Contributor

Move cloning to extra methods

@bjoernricks bjoernricks requested review from jjnicola, wiegandm and a team November 7, 2018 15:37
Passing the copy parameter already doesn't work as expected. It seems
that the other parameters send over the wire are ignored by gvmd or even
like with task or target name lead to an error. Therefore introduce
clone methods that just expect an id as parameter and remove the copy
parameter from all create methods.
Currently with this low level api the file will grow even more. So it
doesn't make sense to warn for to many lines.
@codecov
Copy link

codecov bot commented Nov 7, 2018

Codecov Report

Merging #30 into master will increase coverage by 0.26%.
The diff coverage is 39.18%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   32.16%   32.42%   +0.26%     
==========================================
  Files           9        9              
  Lines        1906     1940      +34     
==========================================
+ Hits          613      629      +16     
- Misses       1293     1311      +18
Impacted Files Coverage Δ
gvm/protocols/latest.py 0% <ø> (ø) ⬆️
gvm/protocols/gmpv7.py 28.27% <39.18%> (+0.71%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 637252c...fbec244. Read the comment docs.

@jjnicola jjnicola merged commit 1ce9572 into greenbone:master Nov 7, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants