diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2019-11-25 15:40:17 +0100 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2019-11-25 15:40:17 +0100 |
commit | f22ff19668e220fcc06182ca3dae14fd086e0a4a (patch) | |
tree | 6f042c3345e34c5070e187817e912c3947221669 | |
parent | f572df7c22c1f48b9a2ddd51519797a5b6a2eda4 (diff) | |
download | docker-f22ff19668e220fcc06182ca3dae14fd086e0a4a.tar.gz |
builder: remove use of deprecated pkg/system constants
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
-rw-r--r-- | builder/dockerfile/copy_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |