From 54c50a015b879cba8cc9c84db808f51b2429a657 Mon Sep 17 00:00:00 2001 From: Gadzhi Kharkharov Date: Thu, 16 Sep 2021 18:10:51 +0300 Subject: [PATCH] clean up naming --- cmd/list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/list.go b/cmd/list.go index 7f8cde7..a6e635b 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -47,8 +47,8 @@ func (c *ListCmd) Run() error { d, err := s.Dir() sessions[i] = session{Name: s.Name, Clients: []string{}, Dir: d} - c, err := s.Clients() - for _, c := range c { + clients, err := s.Clients() + for _, c := range clients { if c.Name != "" { sessions[i].Clients = append(sessions[i].Clients, c.Name) }