mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
Make this function only _print_ the info we have, and not read the username from the credential-store. This patch adds a Username field to the (local) `info` type, and sets it when needed, so that prettyPrintServerInfo only has to format and print the information, instead of calling out to the credential-store. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>