Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Add DNS check#61

Open
akosveres wants to merge 1 commit intorussellcardullo:masterfrom
IMGARENA:fork-code
Open

Add DNS check#61
akosveres wants to merge 1 commit intorussellcardullo:masterfrom
IMGARENA:fork-code

Conversation

@akosveres
Copy link

  • Tests added
  • Readme updated

@akosveres
Copy link
Author

@russellcardullo any chance to get a review on this? Feel free to let me know if there's anything else I should do to get this merged.

Copy link
Owner

@russellcardullo russellcardullo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Everything looks good, but could you change the capitalization of ExpectedIp to make how we capitalize IP consistent in all types?


// CheckResponseDNSDetails represents the details specific to DNS checks.
type CheckResponseDNSDetails struct {
ExpectedIp string `json:"expectedip,omitempty"`
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind making the variable ExpectedIP to match how we capitalize IP in the other types?

// DNSCheck represents a Pingdom DNS check.
type DNSCheck struct {
Name string `json:"name"`
ExpectedIp string `json:"expectedip"`
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make this ExpectedIP?

* Tests added
* Readme updated
@akosveres
Copy link
Author

Thanks for the PR! Everything looks good, but could you change the capitalization of ExpectedIp to make how we capitalize IP consistent in all types?

All fixed, ready for review @russellcardullo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants