forked from golang/glog
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
klog_file: workaround stdlib.user not supporting Nano Server
user.Current() can panic on Windows if the OS is missing netapi32.dll. This library is stripped from Windows Nano Server. To workaround this, use environment variables on all versions on Windows.
- Loading branch information
Showing
1 changed file
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters