From 955077c2217ec1e2ab830ad1a8deb32739298712 Mon Sep 17 00:00:00 2001 From: Vijay Samuel Date: Thu, 22 Nov 2018 07:42:53 -0800 Subject: [PATCH] Update Beats to use go 1.11.2 (#8746) --- Dockerfile | 2 +- checkpoint/file_windows.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 975fce8f3820..7e187972feb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.10.3 +FROM golang:1.11.2 MAINTAINER Noémi Ványi RUN set -x && \ diff --git a/checkpoint/file_windows.go b/checkpoint/file_windows.go index 6644d7510960..267086398f3b 100644 --- a/checkpoint/file_windows.go +++ b/checkpoint/file_windows.go @@ -45,8 +45,8 @@ func createWriteThroughFile(path string) (*os.File, error) { pathp, // Path syscall.GENERIC_READ|syscall.GENERIC_WRITE, // Access Mode uint32(syscall.FILE_SHARE_READ|syscall.FILE_SHARE_WRITE), // Share Mode - nil, // Security Attributes - syscall.CREATE_ALWAYS, // Create Mode + nil, // Security Attributes + syscall.CREATE_ALWAYS, // Create Mode uint32(syscall.FILE_ATTRIBUTE_NORMAL|_FILE_FLAG_WRITE_THROUGH), // Flags and Attributes 0) // Template File