Skip to content

Commit

Permalink
feat: 安装预设插件锁定版本 (closed #2482)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpyoung3 committed Dec 25, 2024
1 parent 80028f4 commit 21c1d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/backend/subscription/steps/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,8 @@ def get_matching_package_obj(self, os_type: str, cpu_arch: str, bk_biz_id: int)
)
raise errors.PluginValidationError(msg)

package = self.check_biz_version(package, bk_biz_id)
if len(self.selected_pkg_infos) > 1:
package = self.check_biz_version(package, bk_biz_id)
return package

def get_matching_config_tmpl_objs(
Expand Down

0 comments on commit 21c1d09

Please sign in to comment.