bug fixes
This commit is contained in:
@@ -66,8 +66,8 @@ func main() {
|
||||
http.HandleFunc("/kernel/", kernelSend)
|
||||
http.HandleFunc("/kmods/", kmodsSend)
|
||||
http.HandleFunc("/vnfs/", vnfsSend)
|
||||
http.HandleFunc("/system-overlay-system/", systemOverlaySend)
|
||||
http.HandleFunc("/system-overlay-runtime", runtimeOverlaySend)
|
||||
http.HandleFunc("/overlay-system/", systemOverlaySend)
|
||||
http.HandleFunc("/overlay-runtime", runtimeOverlaySend)
|
||||
|
||||
http.ListenAndServe(":9873", nil)
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ func main() {
|
||||
for true {
|
||||
var err error
|
||||
|
||||
getString := fmt.Sprintf("http://%s:%d/system-overlay-runtime", config.Ipaddr, config.Port)
|
||||
getString := fmt.Sprintf("http://%s:%d/overlay-runtime", config.Ipaddr, config.Port)
|
||||
resp, err = webclient.Get(getString)
|
||||
if err == nil {
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user