Skip to content

Commit

Permalink
fix debug
Browse files Browse the repository at this point in the history
  • Loading branch information
frostbyte73 committed Nov 8, 2024
1 parent c8635e3 commit 3d22604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/pipeline/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (c *Controller) uploadTrackFiles(u *uploader.Uploader) {
if strings.HasSuffix(f.Name(), ".csv") {
local := path.Join(c.TmpDir, f.Name())
storage := path.Join(c.Info.EgressId, f.Name())
_, _, _, err = u.Upload(local, storage, types.OutputTypeBlob, false)
_, _, err = u.Upload(local, storage, types.OutputTypeBlob, false)
if err != nil {
logger.Errorw("failed to upload debug file", err)
return
Expand Down Expand Up @@ -131,7 +131,7 @@ func (c *Controller) uploadDebugFile(u *uploader.Uploader, data []byte, fileExte
return
}

_, _, _, err = u.Upload(local, path.Join(storageDir, filename), types.OutputTypeBlob, false)
_, _, err = u.Upload(local, path.Join(storageDir, filename), types.OutputTypeBlob, false)
if err != nil {
logger.Errorw("failed to upload debug file", err)
return
Expand Down

0 comments on commit 3d22604

Please sign in to comment.