diff options
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server/v5/model/status.go')
-rw-r--r-- | vendor/github.com/mattermost/mattermost-server/v5/model/status.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/mattermost/mattermost-server/v5/model/status.go b/vendor/github.com/mattermost/mattermost-server/v5/model/status.go index 741fa1ed..1f32422a 100644 --- a/vendor/github.com/mattermost/mattermost-server/v5/model/status.go +++ b/vendor/github.com/mattermost/mattermost-server/v5/model/status.go @@ -35,7 +35,8 @@ func (o *Status) ToJson() string { } func (o *Status) ToClusterJson() string { - b, _ := json.Marshal(o) + oCopy := *o + b, _ := json.Marshal(oCopy) return string(b) } |