Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'devel' into clusterset_vip
Browse files Browse the repository at this point in the history
yboaron authored Sep 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents cf517f8 + 7b7b16b commit 2d77f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coredns/plugin/setup.go
Original file line number Diff line number Diff line change
@@ -186,7 +186,7 @@ func parseTTL(c *caddy.Controller) (uint32, error) {
return 0, c.Errf("ttl must be in range [0, 3600]: %d", t) //nolint:wrapcheck // No need to wrap this.
}

return uint32(t), nil //nolint:gosec // We can safely ignore integer conversion error
return uint32(t), nil
}

func init() {

0 comments on commit 2d77f4d

Please sign in to comment.