From 49fb6882faa708314d6961446e8502f2ab6ebdaa Mon Sep 17 00:00:00 2001 From: Patrick Seeburger Date: Wed, 7 Nov 2018 09:00:10 +0100 Subject: [PATCH] Removed unused OrigTTL attribute from cache info. --- endpoints/utils.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/endpoints/utils.go b/endpoints/utils.go index 688f95d..ce79857 100644 --- a/endpoints/utils.go +++ b/endpoints/utils.go @@ -13,7 +13,6 @@ type TimeInfo struct { } type CacheStatus struct { - OrigTTL int `json:"orig_ttl"` CachedAt TimeInfo `json:"cached_at"` } @@ -51,7 +50,6 @@ func GetApiInfo(res *bird.Parsed, from_cache bool) *APIInfo { // value. cacheInfo := CacheStatus{ - OrigTTL: -1, CachedAt: TimeInfo{ Date: cachedAt, TimezoneType: "UTC",