Remove NodeID from ClusterAbout

This commit is contained in:
Ingo Oppermann
2024-04-10 16:58:34 +02:00
parent 4bc08d2b1e
commit 423e0453de
3 changed files with 0 additions and 4 deletions

View File

@@ -1380,7 +1380,6 @@ type ClusterAboutLeader struct {
type ClusterAbout struct {
ID string
NodeID string
Domains []string
Leader ClusterAboutLeader
Status string
@@ -1396,7 +1395,6 @@ func (c *cluster) About() (ClusterAbout, error) {
about := ClusterAbout{
ID: c.id,
NodeID: c.nodeID,
Leader: ClusterAboutLeader{},
Status: "online",
Version: Version,

View File

@@ -57,7 +57,6 @@ type ClusterAboutLeader struct {
type ClusterAbout struct {
ID string `json:"id"`
NodeID string `json:"node_id"`
Domains []string `json:"public_domains"`
Leader ClusterAboutLeader `json:"leader"`
Status string `json:"status"`

View File

@@ -58,7 +58,6 @@ func (h *ClusterHandler) About(c echo.Context) error {
about := api.ClusterAbout{
ID: state.ID,
NodeID: state.NodeID,
Domains: state.Domains,
Leader: api.ClusterAboutLeader{
ID: state.Leader.ID,