Skip to content

Commit

Permalink
[fix][fn] Use unified PackageManagement service to download packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng committed Jan 23, 2024
1 parent b14fcb4 commit f749e57
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1759,6 +1759,8 @@ protected File getPackageFile(String functionPkgUrl, String existingPackagePath,
+ "when getting %s package from %s", e.getMessage(),
ComponentTypeUtils.toString(componentType), functionPkgUrl));
}
} else if (Utils.hasPackageTypePrefix(existingPackagePath)) {
componentPackageFile = getPackageFile(existingPackagePath);
} else if (uploadedInputStream != null) {
componentPackageFile = WorkerUtils.dumpToTmpFile(uploadedInputStream);
} else if (!existingPackagePath.startsWith(Utils.BUILTIN)) {
Expand Down

0 comments on commit f749e57

Please sign in to comment.