summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/mattermost-server/v5/model/cluster_stats.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server/v5/model/cluster_stats.go')
-rw-r--r--vendor/github.com/mattermost/mattermost-server/v5/model/cluster_stats.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/github.com/mattermost/mattermost-server/v5/model/cluster_stats.go b/vendor/github.com/mattermost/mattermost-server/v5/model/cluster_stats.go
index afc2ab44..9e8c630c 100644
--- a/vendor/github.com/mattermost/mattermost-server/v5/model/cluster_stats.go
+++ b/vendor/github.com/mattermost/mattermost-server/v5/model/cluster_stats.go
@@ -15,13 +15,13 @@ type ClusterStats struct {
TotalMasterDbConnections int `json:"total_master_db_connections"`
}
-func (me *ClusterStats) ToJson() string {
- b, _ := json.Marshal(me)
+func (cs *ClusterStats) ToJson() string {
+ b, _ := json.Marshal(cs)
return string(b)
}
func ClusterStatsFromJson(data io.Reader) *ClusterStats {
- var me *ClusterStats
- json.NewDecoder(data).Decode(&me)
- return me
+ var cs *ClusterStats
+ json.NewDecoder(data).Decode(&cs)
+ return cs
}