update dependencies (#6267)
Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
12
vendor/github.com/golang/glog/glog_file_nonwindows.go
generated
vendored
Normal file
12
vendor/github.com/golang/glog/glog_file_nonwindows.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
//go:build !windows
|
||||
|
||||
package glog
|
||||
|
||||
import "os/user"
|
||||
|
||||
func lookupUser() string {
|
||||
if current, err := user.Current(); err == nil {
|
||||
return current.Username
|
||||
}
|
||||
return ""
|
||||
}
|
||||
Reference in New Issue
Block a user