Enable stylecheck linter

Use the stylecheck linter and fix the reported problems.

[NO TESTS NEEDED]

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
This commit is contained in:
Paul Holzinger
2021-02-11 14:15:26 +01:00
parent afe4ce6b1c
commit ef2fc90f2d
14 changed files with 40 additions and 38 deletions

View File

@ -277,10 +277,10 @@ func CreateNetwork(w http.ResponseWriter, r *http.Request) {
return
}
body := struct {
Id string
ID string `json:"Id"`
Warning []string
}{
Id: net.ID,
ID: net.ID,
}
utils.WriteResponse(w, http.StatusCreated, body)
}