浏览代码

The patch fixes access to undefined variable

The patches fixes the situation when repo is not defined but
formula tries to get access to source parameter of the repo.

Change-Id: Ifa7b8475bfc2cece6803ab7da7b2d0d5cc12b652
Related-PROD: PROD-17001
pull/139/head
Oleh Hryhorov 7 年前
父节点
当前提交
3e68a4f78b
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. +0
    -1
      linux/system/repo.sls

+ 0
- 1
linux/system/repo.sls 查看文件

@@ -150,7 +150,6 @@ linux_repo_{{ name }}_absent:
- keyid_ppa: {{ repo.keyid_ppa }}
{%- endif %}
{%- else %}
- name: {{ repo.source }}
- file: /etc/apt/sources.list.d/{{ name }}.list
{%- if repo.key_id is defined %}
- keyid: {{ repo.key_id }}

正在加载...
取消
保存