summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod/containers.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-01-15 13:41:15 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-01-15 13:42:21 +0100
commitd8d42512c15b32a9013938018cdc0f441561944e (patch)
tree45cecfbceaba8b6f7d4b7b828a5b411d749b5381 /pkg/api/handlers/libpod/containers.go
parentb9be9e6170faed90b2673788be08fb0a34da0962 (diff)
downloadpodman-d8d42512c15b32a9013938018cdc0f441561944e.tar.gz
podman-d8d42512c15b32a9013938018cdc0f441561944e.tar.bz2
podman-d8d42512c15b32a9013938018cdc0f441561944e.zip
v2: stats: drop redundant sleep when streaming
Also remove the redundant stats handler in libpod. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/api/handlers/libpod/containers.go')
-rw-r--r--pkg/api/handlers/libpod/containers.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/api/handlers/libpod/containers.go b/pkg/api/handlers/libpod/containers.go
index bfb028b1b..ceb7460da 100644
--- a/pkg/api/handlers/libpod/containers.go
+++ b/pkg/api/handlers/libpod/containers.go
@@ -143,9 +143,7 @@ func LogsFromContainer(w http.ResponseWriter, r *http.Request) {
// timestamps
// tail string
}
-func StatsContainer(w http.ResponseWriter, r *http.Request) {
- //stream
-}
+
func CreateContainer(w http.ResponseWriter, r *http.Request) {
}