mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Fix `gofmt' errors.
This commit is contained in:
parent
d17ce325a6
commit
00720ba51d
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ func stripPathShortcuts(p string) string {
|
|||
}
|
||||
|
||||
// trim leftover {".", ".."}
|
||||
if (newPath == "." || newPath == "..") {
|
||||
if newPath == "." || newPath == ".." {
|
||||
newPath = ""
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue