From 188a691db70c26ffb33781de0dde257246f8f278 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Wed, 16 Dec 2020 19:21:03 +0900 Subject: [PATCH] fuse-overlayfs: fix godoc "fuse-overlayfs" storage driver had wrong godoc comments that were copied from "overlay2". Signed-off-by: Akihiro Suda --- daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go b/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go index 7535ec4497..e906cda74d 100644 --- a/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go +++ b/daemon/graphdriver/fuse-overlayfs/fuseoverlayfs.go @@ -76,11 +76,9 @@ func init() { graphdriver.Register(driverName, Init) } -// Init returns the native diff driver for overlay filesystem. -// If overlay filesystem is not supported on the host, the error +// Init returns the naive diff driver for fuse-overlayfs. +// If fuse-overlayfs is not supported on the host, the error // graphdriver.ErrNotSupported is returned. -// If an overlay filesystem is not supported over an existing filesystem then -// the error graphdriver.ErrIncompatibleFS is returned. func Init(home string, options []string, uidMaps, gidMaps []idtools.IDMap) (graphdriver.Driver, error) { if _, err := exec.LookPath(binary); err != nil { logger.Error(err) @@ -117,7 +115,6 @@ func (d *Driver) String() string { } // Status returns current driver information in a two dimensional string array. -// Output contains "Backing Filesystem" used in this implementation. func (d *Driver) Status() [][2]string { return [][2]string{} }