mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
24 lines
294 B
Go
24 lines
294 B
Go
// +build windows
|
|
|
|
package client
|
|
|
|
import (
|
|
"os"
|
|
"strconv"
|
|
)
|
|
|
|
var (
|
|
logDataFromUVM int64
|
|
)
|
|
|
|
func init() {
|
|
bytes := os.Getenv("OPENGCS_LOG_DATA_FROM_UVM")
|
|
if len(bytes) == 0 {
|
|
return
|
|
}
|
|
u, err := strconv.ParseUint(bytes, 10, 32)
|
|
if err != nil {
|
|
return
|
|
}
|
|
logDataFromUVM = int64(u)
|
|
}
|