summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-06-25 10:40:24 -0700
committerShentubot <shentubot@google.com>2018-06-25 10:41:27 -0700
commitcecc1e472cc893738a070be00d303dd888b9f325 (patch)
tree952d66785acfcc63505821e22e10320748ebdfac /runsc/boot
parent9c0c4fd8d05cca4905a0f8e4f391045566e4d401 (diff)
Fix lint errors
PiperOrigin-RevId: 201978212 Change-Id: Ie3df1fd41d5293fff66b546a0c68c3bf98126067
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 {