summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/containers_restart.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-04 11:15:27 -0500
committerGitHub <noreply@github.com>2020-12-04 11:15:27 -0500
commita2d536e59762f657ea573e809d1e6f79a89ba0a9 (patch)
treede4d226d8275023fdb6aa096b525c9d2e3534679 /pkg/api/handlers/compat/containers_restart.go
parentec0411aecd74f5d604ded102e562541f5bd01a98 (diff)
parent767afe01db4d99fe687b893b8493a34494484f18 (diff)
downloadpodman-a2d536e59762f657ea573e809d1e6f79a89ba0a9.tar.gz
podman-a2d536e59762f657ea573e809d1e6f79a89ba0a9.tar.bz2
podman-a2d536e59762f657ea573e809d1e6f79a89ba0a9.zip
Merge pull request #8584 from jwhonce/jira/RUN-1106-containers
Jira RUN-1106 Container handlers updates
Diffstat (limited to 'pkg/api/handlers/compat/containers_restart.go')
-rw-r--r--pkg/api/handlers/compat/containers_restart.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/containers_restart.go b/pkg/api/handlers/compat/containers_restart.go
index f4d8f06a1..e8928596a 100644
--- a/pkg/api/handlers/compat/containers_restart.go
+++ b/pkg/api/handlers/compat/containers_restart.go
@@ -41,5 +41,5 @@ func RestartContainer(w http.ResponseWriter, r *http.Request) {
}
// Success
- utils.WriteResponse(w, http.StatusNoContent, "")
+ utils.WriteResponse(w, http.StatusNoContent, nil)
}