There were a few spelling issues that I noticed when reading about shared mounts.
Signed-off-by: jgeiger <joey.geiger@irco.com>
| ... | ... |
@@ -287,7 +287,7 @@ func (d *Driver) setupRlimits(container *configs.Config, c *execdriver.Command) |
| 287 | 287 |
|
| 288 | 288 |
// If rootfs mount propagation is RPRIVATE, that means all the volumes are |
| 289 | 289 |
// going to be private anyway. There is no need to apply per volume |
| 290 |
-// propagation on top. This is just an optimzation so that cost of per volume |
|
| 290 |
+// propagation on top. This is just an optimization so that cost of per volume |
|
| 291 | 291 |
// propagation is paid only if user decides to make some volume non-private |
| 292 | 292 |
// which will force rootfs mount propagation to be non RPRIVATE. |
| 293 | 293 |
func checkResetVolumePropagation(container *configs.Config) {
|
| ... | ... |
@@ -345,7 +345,7 @@ func getSourceMount(source string) (string, string, error) {
|
| 345 | 345 |
return "", "", fmt.Errorf("Could not find source mount of %s", source)
|
| 346 | 346 |
} |
| 347 | 347 |
|
| 348 |
-// Ensure mount point on which path is mouted, is shared. |
|
| 348 |
+// Ensure mount point on which path is mounted, is shared. |
|
| 349 | 349 |
func ensureShared(path string) error {
|
| 350 | 350 |
sharedMount := false |
| 351 | 351 |
|
| ... | ... |
@@ -460,7 +460,7 @@ func (d *Driver) setupMounts(container *configs.Config, c *execdriver.Command) e |
| 460 | 460 |
} |
| 461 | 461 |
|
| 462 | 462 |
// Determine property of RootPropagation based on volume |
| 463 |
- // properties. If a volume is shared, then keep root propagtion |
|
| 463 |
+ // properties. If a volume is shared, then keep root propagation |
|
| 464 | 464 |
// shared. This should work for slave and private volumes too. |
| 465 | 465 |
// |
| 466 | 466 |
// For slave volumes, it can be either [r]shared/[r]slave. |