mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fuse-overlayfs: fix godoc
"fuse-overlayfs" storage driver had wrong godoc comments that were copied from "overlay2". Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
parent
c40bef92e2
commit
188a691db7
1 changed files with 2 additions and 5 deletions
|
@ -76,11 +76,9 @@ func init() {
|
||||||
graphdriver.Register(driverName, Init)
|
graphdriver.Register(driverName, Init)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Init returns the native diff driver for overlay filesystem.
|
// Init returns the naive diff driver for fuse-overlayfs.
|
||||||
// If overlay filesystem is not supported on the host, the error
|
// If fuse-overlayfs is not supported on the host, the error
|
||||||
// graphdriver.ErrNotSupported is returned.
|
// 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) {
|
func Init(home string, options []string, uidMaps, gidMaps []idtools.IDMap) (graphdriver.Driver, error) {
|
||||||
if _, err := exec.LookPath(binary); err != nil {
|
if _, err := exec.LookPath(binary); err != nil {
|
||||||
logger.Error(err)
|
logger.Error(err)
|
||||||
|
@ -117,7 +115,6 @@ func (d *Driver) String() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Status returns current driver information in a two dimensional string array.
|
// 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 {
|
func (d *Driver) Status() [][2]string {
|
||||||
return [][2]string{}
|
return [][2]string{}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue