summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/config.go4
-rw-r--r--runsc/boot/fs.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/runsc/boot/config.go b/runsc/boot/config.go
index c13ac150d..3fca16cce 100644
--- a/runsc/boot/config.go
+++ b/runsc/boot/config.go
@@ -24,10 +24,10 @@ import (
type PlatformType int
const (
- // Ptrace runs the sandbox with the ptrace platform.
+ // PlatformPtrace runs the sandbox with the ptrace platform.
PlatformPtrace PlatformType = iota
- // KVM runs the sandbox with the KVM platform.
+ // PlatformKVM runs the sandbox with the KVM platform.
PlatformKVM
)
diff --git a/runsc/boot/fs.go b/runsc/boot/fs.go
index 7731763de..e0d7fc769 100644
--- a/runsc/boot/fs.go
+++ b/runsc/boot/fs.go
@@ -428,7 +428,7 @@ func addRestoreMount(conf *Config, renv *fs.RestoreEnvironment, m specs.Mount, f
return nil
}
-// createRestoreEnviroment builds a fs.RestoreEnvironment called renv by adding the mounts
+// createRestoreEnvironment builds a fs.RestoreEnvironment called renv by adding the mounts
// to the environment.
func createRestoreEnvironment(spec *specs.Spec, conf *Config, fds *fdDispenser) (*fs.RestoreEnvironment, error) {
if conf.FileAccess == FileAccessDirect {