Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion internal/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -1358,12 +1358,13 @@ func (m *Manager) createClusterDataFiles(ctx context.Context, c *common.Cluster,
if !exists {
continue
}
response, numberOfBytes, err := m.objectHandler.Download(ctx, objectName)
response, numberOfBytes, err := objectHandler.Download(ctx, objectName)
if err != nil {
log.WithError(err).Errorf("failed to download file %s from cluster while building log: %s", path, *c.ID)
continue
}
fileContent, err := io.ReadAll(response)
response.Close()
if err != nil {
log.WithError(err).Errorf("failed to read file data %s (%d) from cluster while building log: %s", path, numberOfBytes, *c.ID)
continue
Expand Down