mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
builder: remove use of deprecated pkg/system constants
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
f572df7c22
commit
f22ff19668
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ func fixPermissionsWindows(source, destination, SID string) error {
|
||||||
return err
|
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 {
|
func validateCopySourcePath(imageSource *imageMount, origPath, platform string) error {
|
||||||
|
|
Loading…
Reference in a new issue