Skip to content

Commit

Permalink
Add Delete
Browse files Browse the repository at this point in the history
Signed-off-by: Anisur Rahman <[email protected]>
  • Loading branch information
anisurrahman75 committed Sep 12, 2024
1 parent 7d0b26d commit a2f719c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/blob/blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ func (b *Blob) Debug(ctx context.Context, filepath string, data []byte, contentT
return closeErr
}

return b.Delete(ctx, filepath, false)
klog.Infof("Cleaning up data from backend...")
return bucket.Delete(ctx, fileName)
}

func (b *Blob) List(ctx context.Context, dir string) ([][]byte, error) {
Expand Down

0 comments on commit a2f719c

Please sign in to comment.