We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a9b57c commit 62ec57cCopy full SHA for 62ec57c
lister/list.go
@@ -56,10 +56,10 @@ func (l *RealLister) List(opts ListOptions) (model.SeshSessions, error) {
56
directoryHash := make(map[string]int)
57
destIndex := 0
58
for _, index := range fullOrderedIndex {
59
- directory := fullDirectory[index]
60
- if _, exists := directoryHash[directory.Path]; !exists {
+ directoryPath := fullDirectory[index].Path
+ if _, exists := directoryHash[directoryPath]; !exists {
61
fullOrderedIndex[destIndex] = index
62
- directoryHash[directory.Path] = 1
+ directoryHash[directoryPath] = 1
63
destIndex = destIndex + 1
64
}
65
0 commit comments