LCOW: API change JSON header to string POST parameter

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard
2017-09-13 12:49:04 -07:00
parent 0380fbff37
commit d98ecf2d6c
27 changed files with 157 additions and 189 deletions

View File

@@ -12,7 +12,7 @@ import (
// cannot be configured with a read-only rootfs.
func checkIfPathIsInAVolume(container *container.Container, absPath string) (bool, error) {
var toVolume bool
parser := volume.NewParser(container.Platform)
parser := volume.NewParser(container.OS)
for _, mnt := range container.MountPoints {
if toVolume = parser.HasResource(mnt, absPath); toVolume {
if mnt.RW {