From f22ff19668e220fcc06182ca3dae14fd086e0a4a Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 25 Nov 2019 15:40:17 +0100 Subject: [PATCH] builder: remove use of deprecated pkg/system constants Signed-off-by: Sebastiaan van Stijn --- builder/dockerfile/copy_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/dockerfile/copy_windows.go b/builder/dockerfile/copy_windows.go index 82e801ae4c..b7475187fe 100644 --- a/builder/dockerfile/copy_windows.go +++ b/builder/dockerfile/copy_windows.go @@ -81,7 +81,7 @@ func fixPermissionsWindows(source, destination, SID string) error { return err } - return system.SetNamedSecurityInfo(windows.StringToUTF16Ptr(destination), system.SE_FILE_OBJECT, system.OWNER_SECURITY_INFORMATION|system.DACL_SECURITY_INFORMATION, sid, nil, dacl, nil) + return system.SetNamedSecurityInfo(windows.StringToUTF16Ptr(destination), windows.SE_FILE_OBJECT, windows.OWNER_SECURITY_INFORMATION|windows.DACL_SECURITY_INFORMATION, sid, nil, dacl, nil) } func validateCopySourcePath(imageSource *imageMount, origPath, platform string) error {