Merge pull request from edsantiago/revert_2832

ps: now works with --size and nonroot
This commit is contained in:
OpenShift Merge Robot
2019-04-09 12:51:11 -07:00
committed by GitHub

@ -205,10 +205,6 @@ func psCmd(c *cliconfig.PsValues) error {
span, _ := opentracing.StartSpanFromContext(Ctx, "psCmd")
defer span.Finish()
}
// TODO disable when single rootless userns merges
if c.Bool("size") && os.Geteuid() != 0 {
return errors.New("the --size option is not presently supported without root")
}
var watch bool