diff options
| author | 2020-03-10 15:38:57 -0700 | |
|---|---|---|
| committer | 2020-03-10 15:45:47 -0700 | |
| commit | a17ac9632def889983fb62469be471aa884884e6 (patch) | |
| tree | 251db3e8e9b49f3a753f69b11a91bcfc1503a305 /java/java_test.go | |
| parent | 865171ed402856a25345bcd23b376a27f160c340 (diff) | |
Improve error handling around username/hostname
If this couldn't read the current user, it would print a generic
message, then proceed to dereference the invalid user struct :(
Provide somewhat reasonable defaults, and better error messages instead.
Test: m nothing
Test: run docker with misconfigured user
Change-Id: I21af77c7d8d1d2d27cb04546667eb1094c62a7a1
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions