summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorCyrille Hemidy <cyrille.hemidy@gmail.com>2018-05-03 14:05:25 -0700
committerShentubot <shentubot@google.com>2018-05-03 14:06:13 -0700
commit04b79137babed361fb227e3ad579adb2df4bb188 (patch)
tree883f16f8e572d6e160bbb3faab1c0f5d2d4858e1 /runsc
parent5c8db0a81882f009935cc6dd45cec47d5c38b267 (diff)
Fix misspellings.
PiperOrigin-RevId: 195307689 Change-Id: I499f19af49875a43214797d63376f20ae788d2f4
Diffstat (limited to 'runsc')
-rw-r--r--runsc/sandbox/sandbox.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/sandbox/sandbox.go b/runsc/sandbox/sandbox.go
index 64810b4ea..954824ada 100644
--- a/runsc/sandbox/sandbox.go
+++ b/runsc/sandbox/sandbox.go
@@ -58,7 +58,7 @@ func validateID(id string) error {
//
// Within a root directory, we maintain subdirectories for each sandbox named
// with the sandbox id. The sandbox metadata is is stored as json within the
-// sandbox directoy in a file named "meta.json". This metadata format is
+// sandbox directory in a file named "meta.json". This metadata format is
// defined by us, and is not part of the OCI spec.
//
// Sandboxes must write this metadata file after any change to their internal
@@ -199,7 +199,7 @@ func Load(rootDir, id string) (*Sandbox, error) {
// If the status is "Running" or "Created", check that the process
// still exists, and set it to Stopped if it does not.
//
- // This is inherintly racey.
+ // This is inherently racey.
if s.Status == Running || s.Status == Created {
// Send signal 0 to check if process exists.
if err := s.Signal(0); err != nil {