From 7843dc3cfa7e99db5b6c89698ef09dbc7b6138ea Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Tue, 5 Sep 2017 07:58:30 -0700 Subject: Fixing leader election (#7267) --- app/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/admin.go') 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, "-----------------------------------------------------------------------------------------------------------") } -- cgit v1.2.3-1-g7c22