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:
commit
01263e2fb9
1 changed files with 0 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue