Browse Source

Merge pull request #1088 from fatedier/dev

bump version to v0.24.1
fatedier 6 years ago
parent
commit
cbf9c731a0
2 changed files with 3 additions and 1 deletions
  1. 2 0
      client/admin_api.go
  2. 1 1
      utils/version/version.go

+ 2 - 0
client/admin_api.go

@@ -311,6 +311,8 @@ func (svr *Service) apiPutConfig(w http.ResponseWriter, r *http.Request) {
 				newRows = append(newRows, token)
 			}
 		}
+	} else {
+		newRows = tmpRows
 	}
 	content = strings.Join(newRows, "\n")
 

+ 1 - 1
utils/version/version.go

@@ -19,7 +19,7 @@ import (
 	"strings"
 )
 
-var version string = "0.24.0"
+var version string = "0.24.1"
 
 func Full() string {
 	return version