diff options
author | Corey Hulen <corey@hulen.com> | 2017-09-05 07:58:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-05 07:58:30 -0700 |
commit | 7843dc3cfa7e99db5b6c89698ef09dbc7b6138ea (patch) | |
tree | 1cd6ffe921b38c273c247ec2b6f360862476f9ea /app/admin.go | |
parent | 44e58bd1000d9663bca1d6f1ab580747c6629719 (diff) | |
download | chat-7843dc3cfa7e99db5b6c89698ef09dbc7b6138ea.tar.gz chat-7843dc3cfa7e99db5b6c89698ef09dbc7b6138ea.tar.bz2 chat-7843dc3cfa7e99db5b6c89698ef09dbc7b6138ea.zip |
Fixing leader election (#7267)
Diffstat (limited to 'app/admin.go')
-rw-r--r-- | app/admin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/admin.go b/app/admin.go index 6e6f8c604..609e37c96 100644 --- a/app/admin.go +++ b/app/admin.go @@ -28,7 +28,7 @@ func GetLogs(page, perPage int) ([]string, *model.AppError) { if einterfaces.GetClusterInterface() != nil && *utils.Cfg.ClusterSettings.Enable { lines = append(lines, "-----------------------------------------------------------------------------------------------------------") lines = append(lines, "-----------------------------------------------------------------------------------------------------------") - lines = append(lines, einterfaces.GetClusterInterface().GetClusterId()) + lines = append(lines, einterfaces.GetClusterInterface().GetMyClusterInfo().Hostname) lines = append(lines, "-----------------------------------------------------------------------------------------------------------") lines = append(lines, "-----------------------------------------------------------------------------------------------------------") } |