summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/generic
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-12 13:28:55 +0100
committerGitHub <noreply@github.com>2020-02-12 13:28:55 +0100
commitbe37d144e78c1948aaf9f3e7b040ac1afdb9120d (patch)
treef5526eb39509c71a56f0df02069b02f1d197acc1 /pkg/api/handlers/generic
parent4f44a1a3a26f4cb82efc6a727586f721ebf505ca (diff)
parent5b830cca9042892af5461d87ade3e9dd61d95e43 (diff)
downloadpodman-be37d144e78c1948aaf9f3e7b040ac1afdb9120d.tar.gz
podman-be37d144e78c1948aaf9f3e7b040ac1afdb9120d.tar.bz2
podman-be37d144e78c1948aaf9f3e7b040ac1afdb9120d.zip
Merge pull request #5175 from baude/apiv2events
apiv2 stream events
Diffstat (limited to 'pkg/api/handlers/generic')
-rw-r--r--pkg/api/handlers/generic/containers_stats.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/api/handlers/generic/containers_stats.go b/pkg/api/handlers/generic/containers_stats.go
index f8804b5c0..cbc1be2f0 100644
--- a/pkg/api/handlers/generic/containers_stats.go
+++ b/pkg/api/handlers/generic/containers_stats.go
@@ -19,9 +19,6 @@ import (
const DefaultStatsPeriod = 5 * time.Second
func StatsContainer(w http.ResponseWriter, r *http.Request) {
- // 200 no error
- // 404 no such
- // 500 internal
runtime := r.Context().Value("runtime").(*libpod.Runtime)
decoder := r.Context().Value("decoder").(*schema.Decoder)