diff --git a/internal/endpoints/restapi/restapi.go b/internal/endpoints/restapi/restapi.go index 5b4a4a1..4dc9850 100644 --- a/internal/endpoints/restapi/restapi.go +++ b/internal/endpoints/restapi/restapi.go @@ -135,6 +135,7 @@ func putYamlHandler(w http.ResponseWriter, r *http.Request) { return } + config.LoadYaml() w.WriteHeader(http.StatusOK) _, err = w.Write([]byte("YAML updated"))