Fix go vet
issues
Test: go vet ./... Change-Id: Ifb936ccc5e2b5a2c3fcbbbcb54f680e2973ea1b3
This commit is contained in:
@@ -243,7 +243,6 @@ func (m *MockFs) followLinks(path string, followLastLink bool, count int) (canon
|
||||
if parentPath == path {
|
||||
err = fmt.Errorf("Internal error: %v yields itself as a parent", path)
|
||||
panic(err.Error())
|
||||
return "", fmt.Errorf("Internal error: %v yields itself as a parent", path)
|
||||
}
|
||||
|
||||
parentPath, err = m.followLinks(parentPath, true, count)
|
||||
|
Reference in New Issue
Block a user