[release] v0.21.4

This commit is contained in:
Yann Stepienik
2026-02-27 09:35:52 +00:00
parent 184de7f0a3
commit fbcfe38346
4 changed files with 10 additions and 1 deletions
+3
View File
@@ -1,3 +1,6 @@
## Version 0.21.4
- Remove tunnel check when Constellation is off
## Version 0.21.3
- fix Bug with table width
- Add move to top/bottom
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.21.3",
"version": "0.21.4",
"description": "",
"main": "test-server.js",
"bugs": {
+2
View File
@@ -268,6 +268,7 @@ func ResetNebula() error {
stop()
utils.Log("Resetting nebula...")
os.RemoveAll(utils.CONFIGFOLDER + "nebula.yml")
os.RemoveAll(utils.CONFIGFOLDER + "nebula-temp.yml")
os.RemoveAll(utils.CONFIGFOLDER + "ca.crt")
os.RemoveAll(utils.CONFIGFOLDER + "ca.key")
os.RemoveAll(utils.CONFIGFOLDER + "cosmos.crt")
@@ -1060,6 +1061,7 @@ func pingLighthouse(lh utils.ConstellationDevice, retries int) {
func GetCurrentDeviceName() (string, error) {
config := utils.GetMainConfig()
name := config.ConstellationConfig.ThisDeviceName
if name == "" {
nebulaFile, err := ioutil.ReadFile(utils.CONFIGFOLDER + "nebula.yml")
if err != nil {
+4
View File
@@ -316,6 +316,10 @@ func UpdateLocalTunnelCache() {
}
func GetLocalTunnelCache() []utils.ConstellationTunnel {
if !utils.GetMainConfig().ConstellationConfig.Enabled {
return []utils.ConstellationTunnel{}
}
isLB, err := GetCurrentDeviceIsLoadbalancer()
if err != nil {
utils.Debug("[constellation] Failed to get current device load balancer status for tunnel cache retrieval " + err.Error())