diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2021-02-11 14:15:26 +0100 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-02-18 11:09:40 -0500 |
commit | 3bddeebf930efb872b99966df5553e0baf81834a (patch) | |
tree | ec2f40a9dd4d79f4fab75d35f5094121c9c5b7a0 /pkg/api | |
parent | c50d969a0e79161c9d5d6f7933009253b067233e (diff) | |
download | podman-3bddeebf930efb872b99966df5553e0baf81834a.tar.gz podman-3bddeebf930efb872b99966df5553e0baf81834a.tar.bz2 podman-3bddeebf930efb872b99966df5553e0baf81834a.zip |
Enable stylecheck linter
Use the stylecheck linter and fix the reported problems.
[NO TESTS NEEDED]
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
<MH: Fix cherry-pick conflict>
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/handlers/compat/networks.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/handlers/compat/networks.go b/pkg/api/handlers/compat/networks.go index f0b922885..95cb06189 100644 --- a/pkg/api/handlers/compat/networks.go +++ b/pkg/api/handlers/compat/networks.go @@ -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) } |