Skip to content

Commit

Permalink
[fix][fn] Use unified PackageManagement service to download packages (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng committed Jan 31, 2024
1 parent a702e5a commit d3b7ca5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1766,6 +1766,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 d3b7ca5

Please sign in to comment.