summaryrefslogtreecommitdiff
path: root/cmd/podman/main.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-08-29 10:28:40 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-29 16:25:20 +0000
commitecf84390ef8fbcdf31d6429f47cd15f12d83faf4 (patch)
treebea69bfc5f879ced1ed2c9e500566a8c98085aaa /cmd/podman/main.go
parentd8c2962188a8c6900e609c0dced5a662fcc18272 (diff)
downloadpodman-ecf84390ef8fbcdf31d6429f47cd15f12d83faf4.tar.gz
podman-ecf84390ef8fbcdf31d6429f47cd15f12d83faf4.tar.bz2
podman-ecf84390ef8fbcdf31d6429f47cd15f12d83faf4.zip
rootless: show an error when stats is used
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1371 Approved by: rhatdan
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r--cmd/podman/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go
index 538eaaac2..c82c018fa 100644
--- a/cmd/podman/main.go
+++ b/cmd/podman/main.go
@@ -35,6 +35,7 @@ var cmdsNotRequiringRootless = map[string]bool{
"pause": true,
"unpause": true,
"search": true,
+ "stats": true,
"stop": true,
"top": true,
}