Skip to content
Snippets Groups Projects
Commit efefb527 authored by Malte Bauch's avatar Malte Bauch
Browse files

linter pleasing

parent 0de2eed4
No related branches found
No related tags found
No related merge requests found
Pipeline #116944 passed
......@@ -59,7 +59,7 @@ func (a *Application) Run(controllerAddress string) {
<-forever
}
// DeviceCallback is the callback function for device changes
// DeviceCallback is the callback function for device changes.
func (a *Application) DeviceCallback(event *event.Event) {
deviceServer := networkelement.NewNetworkElementServiceClient(a.grpcClientConn)
......
......@@ -9,6 +9,7 @@ import (
var clientChannels = make(map[chan []byte]bool)
// StartHTTPServer starts the HTTP server to provide the monitoring page.
func StartHTTPServer() error {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
http.ServeFile(w, r, "webpage/index.html")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment