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 authored and Technoboy- committed Feb 5, 2024
1 parent 9076951 commit 9baebfa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1822,6 +1822,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 9baebfa

Please sign in to comment.