Use pointer based TLS field (#13659)

This will help other projects like `health-analyzer` to verify that the
struct was indeed populated by the minio server, and is not
default-populated during unmarshalling of the JSON.

Signed-off-by: Shireesh Anjal <shireesh@minio.io>
This commit is contained in:
Shireesh Anjal
2021-11-18 22:32:33 +05:30
committed by GitHub
parent 886262e58a
commit 7152915318
3 changed files with 12 additions and 6 deletions

5
go.mod
View File

@@ -48,8 +48,9 @@ require (
github.com/minio/csvparser v1.0.0
github.com/minio/highwayhash v1.0.2
github.com/minio/kes v0.14.0
github.com/minio/madmin-go v1.1.12
github.com/minio/minio-go/v7 v7.0.15
github.com/minio/madmin-go v1.1.15
github.com/minio/mc v0.0.0-20211115052100-7fd441ec6c5b // indirect
github.com/minio/minio-go/v7 v7.0.16-0.20211108161804-a7a36ee131df
github.com/minio/parquet-go v1.1.0
github.com/minio/pkg v1.1.7
github.com/minio/selfupdate v0.3.1