Compose: Improve error messages when resource creation/updates fail.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
@ -114,8 +114,5 @@ func isFilePath(source string) bool {
|
||||
|
||||
// Windows absolute path
|
||||
first, next := utf8.DecodeRuneInString(source)
|
||||
if unicode.IsLetter(first) && source[next] == ':' {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
return unicode.IsLetter(first) && source[next] == ':'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user