From afce23edcaf579d435d029ff69649e3aa4c605f2 Mon Sep 17 00:00:00 2001 From: Danny Canter <36526702+dcantah@users.noreply.github.com> Date: Fri, 11 Feb 2022 14:05:58 -0800 Subject: [PATCH] Fix comment placement for layers.MountContainerLayers (#1295) The comment had an empty line between it and the declaration so it didn't show up for go doc. Signed-off-by: Daniel Canter --- internal/layers/layers.go | 1 - .../github.com/Microsoft/hcsshim/internal/layers/layers.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/layers/layers.go b/internal/layers/layers.go index ca5704a082..573ad72aa7 100644 --- a/internal/layers/layers.go +++ b/internal/layers/layers.go @@ -77,7 +77,6 @@ func (layers *ImageLayers) Release(ctx context.Context, all bool) error { // the host at `volumeMountPath`. // // TODO dcantah: Keep better track of the layers that are added, don't simply discard the SCSI, VSMB, etc. resource types gotten inside. - func MountContainerLayers(ctx context.Context, containerID string, layerFolders []string, guestRoot string, volumeMountPath string, vm *uvm.UtilityVM) (_ string, err error) { log.G(ctx).WithField("layerFolders", layerFolders).Debug("hcsshim::mountContainerLayers") diff --git a/test/vendor/github.com/Microsoft/hcsshim/internal/layers/layers.go b/test/vendor/github.com/Microsoft/hcsshim/internal/layers/layers.go index ca5704a082..573ad72aa7 100644 --- a/test/vendor/github.com/Microsoft/hcsshim/internal/layers/layers.go +++ b/test/vendor/github.com/Microsoft/hcsshim/internal/layers/layers.go @@ -77,7 +77,6 @@ func (layers *ImageLayers) Release(ctx context.Context, all bool) error { // the host at `volumeMountPath`. // // TODO dcantah: Keep better track of the layers that are added, don't simply discard the SCSI, VSMB, etc. resource types gotten inside. - func MountContainerLayers(ctx context.Context, containerID string, layerFolders []string, guestRoot string, volumeMountPath string, vm *uvm.UtilityVM) (_ string, err error) { log.G(ctx).WithField("layerFolders", layerFolders).Debug("hcsshim::mountContainerLayers")