Files
docker-cli/components/engine/daemon
Yong Tang 91be57517e Fix an incorrect WARNING output in docker run/create
This fix tries to fix an incorrect `WARNING` output in `docker run/create`:
```
ubuntu@ubuntu:~/docker$ docker run -d --cpu-percent 80 busybox top
WARNING: %s does not support CPU percent. Percent discarded.
WARNING: linux
e963d1108e455e7f8f57626ca1305b5f1999e46025d2865b9a21fc8abc51a546
```

The reason was that in `daemon/daemon_unix.go`, the warning string
was not combined with `fmt.Sprintf` before appended to the output.

This fix fixes this issue.

This fix has been manually tested and verified:
```
ubuntu@ubuntu:~/docker$ docker run -d --cpu-percent 80 busybox top
WARNING: linux does not support CPU percent. Percent discarded.
fcf53f79d389235bae846d3d40804834659ac025edbc0d075ed91841a8e4c740
```

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 40f25809abacc99953385dbe6b107218d8b5522f
Component: engine
2016-10-16 17:11:39 -07:00
..
2016-09-12 09:20:27 -07:00
2016-09-07 11:05:58 -07:00
2016-09-16 12:27:13 -04:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-08-25 13:09:04 -04:00
2016-09-16 12:27:13 -04:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-07-21 20:04:47 -07:00
2016-09-16 12:27:13 -04:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-10-05 13:15:44 -07:00
2016-09-07 11:05:58 -07:00
2016-09-28 14:10:15 +08:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-10-06 17:12:17 -07:00
2016-09-07 11:05:58 -07:00
2016-09-23 12:13:29 -07:00
2016-06-27 10:23:37 -07:00
2016-06-27 10:23:37 -07:00
2016-09-07 11:05:58 -07:00
2016-09-28 12:45:30 +02:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-09-13 09:55:35 -04:00
2016-10-11 00:42:21 +08:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-09-01 11:53:07 +02:00
2016-09-16 11:56:15 -07:00
2016-09-16 11:56:15 -07:00
2016-09-21 12:36:52 +02:00
2016-09-16 11:56:15 -07:00
2016-09-16 11:56:15 -07:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00