Skip to content

Commit

Permalink
fixes static checker
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed Dec 13, 2024
1 parent d2e1b26 commit 55baf9e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/agent/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,7 @@ func (s *server) ListContainers(ctx context.Context, in *pb.ListContainersReques
filter := make(docker.ContainerFilter)
if in.GetFilter() != nil {
for k, v := range in.GetFilter() {
for _, vv := range v.GetValues() {
filter[k] = append(filter[k], vv)
}
filter[k] = append(filter[k], v.GetValues()...)
}
}

Expand Down

0 comments on commit 55baf9e

Please sign in to comment.