瀏覽代碼

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 }}

Loading…
取消
儲存