From e24c869c5db302945320a7e681048a449d409f23 Mon Sep 17 00:00:00 2001 From: Alex Aizman Date: Fri, 2 Aug 2024 08:56:43 -0400 Subject: [PATCH] authn config: add json tag to unexported fields * fields previously added in this commit: 73682b80d403 Signed-off-by: Alex Aizman --- api/authn/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/authn/config.go b/api/authn/config.go index 2da15e5a76..018e79fec0 100644 --- a/api/authn/config.go +++ b/api/authn/config.go @@ -23,7 +23,7 @@ type ( Server ServerConf `json:"auth"` Timeout TimeoutConf `json:"timeout"` // private - mu sync.RWMutex + mu sync.RWMutex `json:"-"` } LogConf struct { Dir string `json:"dir"` @@ -42,8 +42,8 @@ type ( Secret string `json:"secret"` Expire cos.Duration `json:"expiration_time"` // private - psecret *string - pexpire *cos.Duration + psecret *string `json:"-"` + pexpire *cos.Duration `json:"-"` } TimeoutConf struct { Default cos.Duration `json:"default_timeout"`