mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
Values editing (#17)
* Refactorings * save * REdesigning install dialog * Display values editor * Reconfigure flow * Status handler and version * error reporting
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"os"
|
||||
)
|
||||
|
||||
func StartServer() (string, ControlChan) {
|
||||
func StartServer(version string) (string, ControlChan) {
|
||||
data := DataLayer{}
|
||||
err := data.CheckConnectivity()
|
||||
if err != nil {
|
||||
@@ -28,7 +28,7 @@ func StartServer() (string, ControlChan) {
|
||||
}
|
||||
|
||||
abort := make(ControlChan)
|
||||
api := NewRouter(abort, &data)
|
||||
api := NewRouter(abort, &data, version)
|
||||
done := startBackgroundServer(address, api, abort)
|
||||
|
||||
return "http://" + address, done
|
||||
|
||||
Reference in New Issue
Block a user