summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/sandbox')
-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 {