Windows OCI convergence step 1
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: 7c7c3d7746d0dd77a7c0454a5bfe56b406ebadf1 Component: engine
This commit is contained in:
@ -7,17 +7,13 @@ import (
|
||||
)
|
||||
|
||||
// DefaultSpec returns default spec used by docker.
|
||||
func DefaultSpec() windowsoci.WindowsSpec {
|
||||
s := windowsoci.Spec{
|
||||
func DefaultSpec() windowsoci.Spec {
|
||||
return windowsoci.Spec{
|
||||
Version: windowsoci.Version,
|
||||
Platform: windowsoci.Platform{
|
||||
OS: runtime.GOOS,
|
||||
Arch: runtime.GOARCH,
|
||||
},
|
||||
}
|
||||
|
||||
return windowsoci.WindowsSpec{
|
||||
Spec: s,
|
||||
Windows: windowsoci.Windows{},
|
||||
Windows: &windowsoci.Windows{},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user