pkg/stringid
Richard Burnison a513a8b8e0 Only use fallback to short IDs when obvious.
As reported in #11294, the Docker daemon will execute contains it
shouldn't run in the event that a requested tag is present in an image's
ID. This leads to the wrong image being started up silently.

This change reduces the risk of such a collision by using the short ID
iff the actual revOrTag looks like a short ID (not that it necessarily
is).

Signed-off-by: Richard Burnison <rburnison@ebay.com>
2015-04-10 13:20:44 -04:00
..
README.md Refactor pkg/common, Fixes #11599 2015-03-24 18:19:59 +01:00
stringid.go Only use fallback to short IDs when obvious. 2015-04-10 13:20:44 -04:00
stringid_test.go Only use fallback to short IDs when obvious. 2015-04-10 13:20:44 -04:00

This package provides helper functions for dealing with string identifiers