Add proxying memfs files

This commit is contained in:
Ingo Oppermann
2022-08-04 16:43:19 +02:00
parent fe889aa4e2
commit c31fd657be
7 changed files with 177 additions and 22 deletions

View File

@@ -89,8 +89,10 @@ func (h *ClusterHandler) GetNode(c echo.Context) error {
state := peer.State()
node := api.ClusterNode{
Address: peer.Address(),
State: state.State,
Address: peer.Address(),
ID: state.ID,
LastUpdate: state.LastUpdate.Unix(),
State: state.State,
}
return c.JSON(http.StatusOK, node)