mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
Fix `gofmt' errors.
This commit is contained in:
parent
d17ce325a6
commit
00720ba51d
@ -311,7 +311,7 @@ func stripPathShortcuts(p string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// trim leftover {".", ".."}
|
// trim leftover {".", ".."}
|
||||||
if (newPath == "." || newPath == "..") {
|
if newPath == "." || newPath == ".." {
|
||||||
newPath = ""
|
newPath = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user