Pārlūkot izejas kodu

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 pirms 7 gadiem
vecāks
revīzija
3e68a4f78b
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. +0
    -1
      linux/system/repo.sls

+ 0
- 1
linux/system/repo.sls Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt