Please sign in to comment.
list: stop casting unknown UIDs to their unicode values
If a container is owned by a UID that is not listed in /etc/passwd, previously we would cast the UID to a string which contained a character with the unicode value of the UID. This is clearly wrong, switch to using fmt.Sprintf as intended. In addition, notate unknown users with a leading '#' in the column. This is necessary to ensure that a user is not under the impression that the UID is the same as a numeric username. Signed-off-by: Aleksa Sarai <firstname.lastname@example.org>
- Loading branch information...