mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 13:14:05 +00:00
Fix `gofmt' errors.
This commit is contained in:
@@ -311,7 +311,7 @@ func stripPathShortcuts(p string) string {
|
||||
}
|
||||
|
||||
// trim leftover {".", ".."}
|
||||
if (newPath == "." || newPath == "..") {
|
||||
if newPath == "." || newPath == ".." {
|
||||
newPath = ""
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user