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

Added context support #39

Merged
merged 18 commits into from
May 25, 2021
Merged

Added context support #39

merged 18 commits into from
May 25, 2021

Conversation

dmarkhas
Copy link
Collaborator

Added context support to check.Check

checks/dns.go Outdated Show resolved Hide resolved
checks/dns.go Outdated Show resolved Hide resolved
checks/ping.go Show resolved Hide resolved
…o AppsFlyer-master

# Conflicts:
#	check_task.go
#	checks/custom.go
#	checks/dns.go
#	config.go
#	health.go
#	http/handler_test.go
…o AppsFlyer-master

# Conflicts:
#	check_task.go
#	checks/custom.go
#	checks/dns.go
#	config.go
#	health.go
#	http/handler_test.go
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
check_task.go Outdated Show resolved Hide resolved
health.go Outdated Show resolved Hide resolved
health.go Outdated Show resolved Hide resolved
health.go Outdated Show resolved Hide resolved
options.go Outdated Show resolved Hide resolved
options.go Show resolved Hide resolved
dmarkhas and others added 5 commits May 20, 2021 10:13
Co-authored-by: Márk Sági-Kazár <[email protected]>
Co-authored-by: Márk Sági-Kazár <[email protected]>
Co-authored-by: Márk Sági-Kazár <[email protected]>
Copy link
Contributor

@eranharel eranharel left a comment

Choose a reason for hiding this comment

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

There are still many examples, code snippets, that are broken in the README

check_task.go Show resolved Hide resolved
@eranharel
Copy link
Contributor

README still contains broken code snippets, e.g. NewHostResolveCheck() calls

health.go Outdated
@@ -38,10 +39,16 @@ func New(opts ...HealthOption) Health {
for _, opt := range append(opts, WithDefaults()) {
opt.apply(h)
}

if h.ctx == nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a case where it's not nil?

@eranharel eranharel merged commit fb853ea into AppsFlyer:master May 25, 2021
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.

None yet

3 participants