remove nil return

This commit is contained in:
pascal
2026-05-26 18:32:32 +02:00
parent 1072f73a73
commit 77604bb467

View File

@@ -4946,10 +4946,6 @@ func (s *SqlStore) GetEmbeddedProxyPeerIDsByCluster(ctx context.Context, account
return nil, status.Errorf(status.Internal, "failed to get embedded proxy peers: %s", result.Error)
}
if len(rows) == 0 {
return nil, nil
}
out := make(map[string][]string, len(rows))
for _, r := range rows {
out[r.Cluster] = append(out[r.Cluster], r.ID)