From 7e81676170b6dd6cdbc7767601235444d61cea3b Mon Sep 17 00:00:00 2001 From: Allen Zhong Date: Mon, 21 Dec 2020 17:42:13 +0800 Subject: [PATCH] cluster: update dashboard metadata on reload --- pkg/cluster/manager/reload.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/cluster/manager/reload.go b/pkg/cluster/manager/reload.go index cbec07680c..9d5f2ff58f 100644 --- a/pkg/cluster/manager/reload.go +++ b/pkg/cluster/manager/reload.go @@ -63,6 +63,12 @@ func (m *Manager) Reload(name string, opt operator.Options, skipRestart bool) er } tb := m.sshTaskBuilder(name, topo, base.User, opt). + UpdateTopology( + name, + m.specManager.Path(name), + metadata.(*spec.ClusterMeta), + nil, /* deleteNodeIds */ + ). ParallelStep("+ Refresh instance configs", opt.Force, refreshConfigTasks...) if len(monitorConfigTasks) > 0 {