mirror of
https://github.com/containers/podman.git
synced 2025-06-20 17:13:43 +08:00
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:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user