Skip to content
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

DNS validation #19

Closed
wants to merge 14 commits into from
Closed

DNS validation #19

wants to merge 14 commits into from

Conversation

oz123
Copy link
Contributor

@oz123 oz123 commented Feb 15, 2024

Getting up to speed here after a slow start ...

@oz123 oz123 force-pushed the dns-validation branch 2 times, most recently from 48acfdc to 6b5b01d Compare February 15, 2024 20:50
Copy link

codecov bot commented Feb 15, 2024

Codecov Report

Merging #19 (b0d4419) into main (e6cbc3c) will decrease coverage by 16.56%.
The diff coverage is 13.88%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #19       +/-   ##
===========================================
- Coverage   62.85%   46.30%   -16.56%     
===========================================
  Files           2        2               
  Lines         140      203       +63     
===========================================
+ Hits           88       94        +6     
- Misses         49      102       +53     
- Partials        3        7        +4     
Files Coverage Δ
internal/controller/maasvalidator_controller.go 83.11% <75.00%> (-4.03%) ⬇️
internal/validators/maas_validator.go 23.80% <6.25%> (-14.77%) ⬇️

Continue to review full report in Codecov by Sentry.

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

This was referenced Feb 15, 2024
@oz123 oz123 force-pushed the dns-validation branch 4 times, most recently from f51e94e to e5c5cb6 Compare February 21, 2024 07:57
oz123 and others added 10 commits February 21, 2024 14:37
Update the method for returning DNSServers.

Signed-off-by: Oz Tiram <[email protected]>
Instead of string - define a Nameserver type without any fields.

Signed-off-by: Oz Tiram <[email protected]>
oz123 and others added 2 commits February 21, 2024 14:38
Previouly, the client failed to initialize because the token was
not in the correct format.
Validation now looks that DNS servers are available and working.

Since the types were changes, and the logic too, I temporarily disabled
the tests.

Signed-off-by: Oz Tiram <[email protected]>
While this is just a simple test, it can be used for the intgration
tests.

Signed-off-by: Oz Tiram <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants