feat(source/min-ttl): added min-ttl support

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
This commit is contained in:
ivan katliarchuk 2025-07-11 16:52:45 +01:00
parent e65e233387
commit 9bb7cce71e
No known key found for this signature in database
GPG Key ID: 601CDBBBB76E47BE

View File

@ -992,10 +992,11 @@ func TestEndpoint_WithMinTTL(t *testing.T) {
isConfigured: true,
},
{
name: "does not set when input is zero",
initialTTL: 30,
inputTTL: 0,
expectedTTL: 30,
name: "does not set when input is zero",
initialTTL: 30,
inputTTL: 0,
expectedTTL: 30,
isConfigured: true,
},
{
name: "does not set when input is negative",