Skip to content

Commit 18c53a9

Browse files
author
Kazuyoshi Kato
authored
Merge pull request #236 from edigaryev/clarify-validate-error
Clarify error message when host drive path is inaccessible
2 parents ba43a95 + fe7e262 commit 18c53a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

machine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func (cfg *Config) Validate() error {
177177
if BoolValue(drive.IsRootDevice) {
178178
rootPath := StringValue(drive.PathOnHost)
179179
if _, err := os.Stat(rootPath); err != nil {
180-
return fmt.Errorf("failed to stat host path, %q: %v", rootPath, err)
180+
return fmt.Errorf("failed to stat host drive path, %q: %v", rootPath, err)
181181
}
182182

183183
break

0 commit comments

Comments
 (0)