Skip to content

Validate non-empty tlds in refresh DNS action#3114

Open
CydeWeys wants to merge 1 commit into
google:masterfrom
CydeWeys:fix-refresh-dns-tlds-validation
Open

Validate non-empty tlds in refresh DNS action#3114
CydeWeys wants to merge 1 commit into
google:masterfrom
CydeWeys:fix-refresh-dns-tlds-validation

Conversation

@CydeWeys

@CydeWeys CydeWeys commented Jun 29, 2026

Copy link
Copy Markdown
Member

Add validation to RefreshDnsForAllDomainsAction to ensure the tlds parameter is not empty when invoked. Previously, invoking the action without specifying tlds would result in a no-op that logged an empty list and exited without error. This change makes missing tlds an explicit error, throwing an IllegalArgumentException so users running the command via nomulus curl receive clear feedback that the parameter is required.


This change is Reviewable

Add validation to RefreshDnsForAllDomainsAction to ensure the tlds parameter is not empty when invoked. Previously, invoking the action without specifying tlds would result in a no-op that logged an empty list and exited without error. This change makes missing tlds an explicit error, throwing an IllegalArgumentException so users running the command via nomulus curl receive clear feedback that the parameter is required.
@CydeWeys CydeWeys requested a review from jicelhay June 29, 2026 17:57
@CydeWeys CydeWeys enabled auto-merge June 29, 2026 17:58
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.

1 participant