Fix some typo in runtime and snapshots

Signed-off-by: Xiaodong Zhang <a4012017@sina.com>
This commit is contained in:
Xiaodong Zhang
2018-09-08 08:31:42 +08:00
parent 901b2ea2a7
commit e6d787172c
5 changed files with 5 additions and 5 deletions

View File

@@ -315,7 +315,7 @@ func (s *snapshotter) createSnapshot(ctx context.Context, kind snapshots.Kind, k
if err := os.MkdirAll(snDir, 0700); err != nil {
return nil, err
}
// Create the scratch.vhdx cache file if it doesnt already exit.
// Create the scratch.vhdx cache file if it doesn't already exit.
scratchPath := filepath.Join(s.root, "scratch.vhdx")
scratchLockPath := filepath.Join(s.root, "scratch.vhdx.lock")
startTime := time.Now()

View File

@@ -71,7 +71,7 @@ func supportsMultipleLowerDir(d string) error {
}
// Supported returns nil when the overlayfs is functional on the system with the root directory.
// Suppported is not called during plugin initialization, but exposed for downstream projects which uses
// Supported is not called during plugin initialization, but exposed for downstream projects which uses
// this snapshotter as a library.
func Supported(root string) error {
if err := os.MkdirAll(root, 0700); err != nil {