1
0
Fork 0
mirror of https://github.com/alice-lg/birdwatcher.git synced 2025-03-09 00:00:05 +01:00

Removed unused OrigTTL attribute from cache info.

This commit is contained in:
Patrick Seeburger 2018-11-07 09:00:10 +01:00 committed by Benedikt Rudolph
parent 681fcc60ea
commit 49fb6882fa

View file

@ -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",