mirror of
https://github.com/harness/drone.git
synced 2025-05-02 23:50:58 +08:00
[fix]: [AH-1271]: fixed panic in download file flow in file manager framework (#3749)
* [ix]: [AH-1271]: fixed panic in download file flow in file manager framework
This commit is contained in:
parent
cd395e8406
commit
6aa9e3cfbc
@ -237,7 +237,7 @@ func (f *FileManager) DownloadFile(
|
||||
|
||||
if err != nil {
|
||||
return nil, 0, "", fmt.Errorf("failed to get the blob for path: %s, "+
|
||||
"with blob id: %s, with error %s", filePath, blob.ID, err)
|
||||
"with blob id: %s, with error %s", filePath, node.BlobID, err)
|
||||
}
|
||||
|
||||
completeFilaPath := path.Join(rootPathString + rootIdentifier + rootPathString + files + rootPathString + blob.Sha256)
|
||||
|
Loading…
Reference in New Issue
Block a user