Skip to content

fix: correct spelling of MaximumDefaultTTL in cache and dnsutil packages#7678

Merged
yongtang merged 1 commit into
coredns:masterfrom
tsolodov:rename-const
Nov 18, 2025
Merged

fix: correct spelling of MaximumDefaultTTL in cache and dnsutil packages#7678
yongtang merged 1 commit into
coredns:masterfrom
tsolodov:rename-const

Conversation

@tsolodov

@tsolodov tsolodov commented Nov 14, 2025

Copy link
Copy Markdown
Contributor

1. Why is this pull request needed and what does it do?

Fixing a typo in constant name

2. Which issues (if any) are related?

There was a "TODO" comment on source code - // TODO: rename as MaximumDefaultTTL

3. Which documentation changes (if any) need to be made?

N/A

4. Does this introduce a backward incompatible change or deprecation?

Yes, we’re keeping the old constant with deprecation notice for backward compatibility

@rdrozhdzh rdrozhdzh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

please update the PR description accordingly

Comment thread plugin/pkg/dnsutil/ttl.go Outdated
@yongtang

Copy link
Copy Markdown
Member

@tsolodov Can you also fix the DCO errors as was mentioned

https://github.com/coredns/coredns/pull/7678/checks?check_run_id=55371029286

Signed-off-by: Timur Solodovnikov <tsolodov@gmail.com>
@tsolodov

Copy link
Copy Markdown
Contributor Author

@tsolodov Can you also fix the DCO errors as was mentioned

https://github.com/coredns/coredns/pull/7678/checks?check_run_id=55371029286

fixed, PTAL

@yongtang yongtang merged commit 614a364 into coredns:master Nov 18, 2025
11 checks passed
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.

3 participants