Skip to content

JOKER: Fix potential TTL bug #3883

@tlimoncelli

Description

@tlimoncelli

Issue

golangci-lint reports:

providers/joker/records.go:233:8: ineffectual assignment to ttl (ineffassign)
							ttl = uint32(ttlParsed)
							^
providers/joker/records.go:269:7: ineffectual assignment to ttl (ineffassign)
						ttl = uint32(ttlParsed)
						^

In other words... ttl is being set but the result is never used.

Resolution

Please fix

CC @atrull

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions