From f4cfa95768dcf3dd10df438d71821859cd33291d Mon Sep 17 00:00:00 2001 From: go-bai <599500688@qq.com> Date: Tue, 29 Aug 2023 10:54:55 +0800 Subject: [PATCH] mon: typo in json tag of struct MonMap The json tag in struct MonMap had a spelling error where "json" was incorrectly splled as "josn". This commit corrects the spelling to "json". Signed-off-by: go-bai <599500688@qq.com> --- pkg/daemon/ceph/client/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/daemon/ceph/client/status.go b/pkg/daemon/ceph/client/status.go index 1c462a236..cd0c33cfd 100644 --- a/pkg/daemon/ceph/client/status.go +++ b/pkg/daemon/ceph/client/status.go @@ -70,7 +70,7 @@ type Summary struct { type MonMap struct { Epoch int `json:"epoch"` - NumMons int `josn:"num_mons"` + NumMons int `json:"num_mons"` FSID string `json:"fsid"` CreatedTime string `json:"created"` ModifiedTime string `json:"modified"`