Skip to content

Commit

Permalink
proto: change debug bundle api comments. change download path
Browse files Browse the repository at this point in the history
  • Loading branch information
bojand committed Nov 5, 2024
1 parent bd783f0 commit 6aa2070
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/debugBundle/DebugBundleLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const DebugBundleLink = ({ statuses, showDeleteButton = false, showDatetime = tr
<Button
variant="link"
onClick={() => {
config.fetch(`${config.restBasePath}/debug_bundle/${downloadFilename}`).then(async response => {
config.fetch(`${config.restBasePath}/debug_bundle/files/${downloadFilename}`).then(async response => {
const url = window.URL.createObjectURL(await response.blob());

// Create a new anchor element
Expand Down
4 changes: 2 additions & 2 deletions proto/redpanda/api/console/v1alpha1/debug_bundle.proto
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ message TopicPartitions {
}

// Additional API:
// GET /api/debug_bundle/{file}
// GET /api/debug_bundle/{broker_id}/{file}
// GET /api/debug_bundle/files/{file}
// GET /api/debug_bundle/brokers/{broker_id}/files/{file}
// This will download the debug bundle zip file

service DebugBundleService {
Expand Down

0 comments on commit 6aa2070

Please sign in to comment.