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

Merge branch 'develop' into master for 1.12.2

Changes since last version:
* Removed unused OrigTTL attribute from cache info
This commit is contained in:
Benedikt Rudolph 2019-02-27 14:41:58 +01:00
commit 01263e2fb9

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