summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/ports/BUILD
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-11-22 15:21:31 -0800
committergVisor bot <gvisor-bot@google.com>2019-11-22 15:47:15 -0800
commit5eb522193cf206a36c1663d909b9e53ae93b2b6a (patch)
tree994668bc4d8abeb095570fe32126ab976d571cf6 /pkg/tcpip/ports/BUILD
parent8eb68912e40bc87c932baeb13d151fd590d7d279 (diff)
Force timezone initialization before filter installation
The first use of time.Local (usually via time.Time.Date, et. al) performs initialization of the local timezone, which involves open several tzdata files from the host. Since filter installation disallows open, we should explicitly force this initialization rather than implicitly depending on the first logging (or other time) call occurring before filter installation. PiperOrigin-RevId: 282053121
Diffstat (limited to 'pkg/tcpip/ports/BUILD')
0 files changed, 0 insertions, 0 deletions