From 11cb3341a9c080194e9a8ad4939fb848b6fcdf69 Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Wed, 8 Feb 2023 00:13:48 +0100 Subject: [PATCH] Fix reported version --- v7/snapshot.go | 4 ++-- v7/version.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/v7/snapshot.go b/v7/snapshot.go index a1923d5..e80986b 100644 --- a/v7/snapshot.go +++ b/v7/snapshot.go @@ -248,7 +248,7 @@ func (snap *Snapshot) evalDetailsForKeyId(id keyID, key string) EvaluationDetail User: snap.originalUser, IsDefaultValue: true, Error: err, - FetchTime: snap.config.fetchTime, + FetchTime: snap.FetchTime(), }} } @@ -256,7 +256,7 @@ func (snap *Snapshot) evalDetailsForKeyId(id keyID, key string) EvaluationDetail Key: key, VariationID: varID, User: snap.originalUser, - FetchTime: snap.config.fetchTime, + FetchTime: snap.FetchTime(), MatchedEvaluationRule: newPublicRolloutRuleOrNil(rollout), MatchedEvaluationPercentageRule: newPublicPercentageRuleOrNil(percentage), }} diff --git a/v7/version.go b/v7/version.go index df7c0ae..003a776 100644 --- a/v7/version.go +++ b/v7/version.go @@ -1,4 +1,4 @@ package configcat // TODO read this from runtime.BuildInfo? -const version = "7.6.0" +const version = "7.8.1"