Docker-DCO-1.1-Signed-off-by: Lars R. Damerow <lars@grandstreet.us> (github: bitness)
| ... | ... |
@@ -14,7 +14,7 @@ import ( |
| 14 | 14 |
) |
| 15 | 15 |
|
| 16 | 16 |
var ( |
| 17 |
- ErrInvalidWorikingDirectory = fmt.Errorf("The working directory is invalid. It needs to be an absolute path.")
|
|
| 17 |
+ ErrInvalidWorkingDirectory = fmt.Errorf("The working directory is invalid. It needs to be an absolute path.")
|
|
| 18 | 18 |
ErrConflictAttachDetach = fmt.Errorf("Conflicting options: -a and -d")
|
| 19 | 19 |
ErrConflictDetachAutoRemove = fmt.Errorf("Conflicting options: --rm and -d")
|
| 20 | 20 |
) |
| ... | ... |
@@ -95,7 +95,7 @@ func parseRun(cmd *flag.FlagSet, args []string, sysInfo *sysinfo.SysInfo) (*Conf |
| 95 | 95 |
return nil, nil, cmd, ErrConflictAttachDetach |
| 96 | 96 |
} |
| 97 | 97 |
if *flWorkingDir != "" && !path.IsAbs(*flWorkingDir) {
|
| 98 |
- return nil, nil, cmd, ErrInvalidWorikingDirectory |
|
| 98 |
+ return nil, nil, cmd, ErrInvalidWorkingDirectory |
|
| 99 | 99 |
} |
| 100 | 100 |
if *flDetach && *flAutoRemove {
|
| 101 | 101 |
return nil, nil, cmd, ErrConflictDetachAutoRemove |