From 6aa9e3cfbc36d9f7ddd8de983b6bc2af746d25a6 Mon Sep 17 00:00:00 2001 From: Pragyesh Mishra Date: Tue, 29 Apr 2025 15:20:56 +0000 Subject: [PATCH] [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 --- registry/app/pkg/filemanager/file_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/app/pkg/filemanager/file_manager.go b/registry/app/pkg/filemanager/file_manager.go index c3018c0b5..3a347cb9d 100644 --- a/registry/app/pkg/filemanager/file_manager.go +++ b/registry/app/pkg/filemanager/file_manager.go @@ -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)