Skip to content

Commit

Permalink
Simplify range expression
Browse files Browse the repository at this point in the history
  • Loading branch information
joshm91 committed Apr 7, 2021
1 parent 873a1f7 commit 3e150dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type mockKafkaClient struct{ clusters map[string]mockCluster }
func (m mockKafkaClient) ListClusters(ctx context.Context, params *kafka.ListClustersInput, optFns ...func(*kafka.Options)) (*kafka.ListClustersOutput, error) {
var clusterInfoList []types.ClusterInfo
keys := make([]string, 0)
for k, _ := range m.clusters {
for k := range m.clusters {
keys = append(keys, k)
}
sort.Strings(keys)
Expand Down

0 comments on commit 3e150dc

Please sign in to comment.