summaryrefslogtreecommitdiffstats
path: root/app/admin.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-09-05 07:58:30 -0700
committerGitHub <noreply@github.com>2017-09-05 07:58:30 -0700
commit7843dc3cfa7e99db5b6c89698ef09dbc7b6138ea (patch)
tree1cd6ffe921b38c273c247ec2b6f360862476f9ea /app/admin.go
parent44e58bd1000d9663bca1d6f1ab580747c6629719 (diff)
downloadchat-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.go2
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, "-----------------------------------------------------------------------------------------------------------")
}