We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ec97a4 commit 0442663Copy full SHA for 0442663
pkg/api/pod/warnings.go
@@ -515,7 +515,7 @@ func checkVolumeMappingForOverlap(paths []pathAndSource) []string {
515
}
516
517
func checkForOverlap(haystack []pathAndSource, needle pathAndSource) []pathAndSource {
518
- pathSeparator := string(os.PathSeparator)
+ pathSeparator := `/` // this check runs in the API server, use the OS-agnostic separator
519
520
if needle.path == "" {
521
return nil
0 commit comments