mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +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 {".", ".."}
|
||||
if (newPath == "." || newPath == "..") {
|
||||
if newPath == "." || newPath == ".." {
|
||||
newPath = ""
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user