mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to v0.14.0-rc1
Update buildkit dependency to v0.14.0-rc1. Update the tracing infrastructure to use the new detect API which updates how the delegated exporter is configured. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This commit is contained in:
4
vendor/github.com/moby/buildkit/util/system/path.go
generated
vendored
4
vendor/github.com/moby/buildkit/util/system/path.go
generated
vendored
@ -89,7 +89,7 @@ func ToSlash(inputPath, inputOS string) string {
|
||||
if inputOS != "windows" {
|
||||
return inputPath
|
||||
}
|
||||
return strings.Replace(inputPath, "\\", "/", -1)
|
||||
return strings.ReplaceAll(inputPath, "\\", "/")
|
||||
}
|
||||
|
||||
func FromSlash(inputPath, inputOS string) string {
|
||||
@ -97,7 +97,7 @@ func FromSlash(inputPath, inputOS string) string {
|
||||
if inputOS == "windows" {
|
||||
separator = "\\"
|
||||
}
|
||||
return strings.Replace(inputPath, "/", separator, -1)
|
||||
return strings.ReplaceAll(inputPath, "/", separator)
|
||||
}
|
||||
|
||||
// NormalizeWorkdir will return a normalized version of the new workdir, given
|
||||
|
Reference in New Issue
Block a user