mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
fix for #15585
This commit is contained in:
parent
4f3a2489cc
commit
12397ce7e4
@ -1466,7 +1466,7 @@ def mod_repo(repo, saltenv='base', **kwargs):
|
||||
if not mod_source:
|
||||
mod_source = sourceslist.SourceEntry(repo)
|
||||
if 'comments' in kwargs:
|
||||
mod_source.comment = kwargs['comments'][0]
|
||||
mod_source.comment = " ".join(str(c) for c in kwargs['comments'])
|
||||
sources.list.append(mod_source)
|
||||
|
||||
# if all comps aren't part of the disable
|
||||
|
Loading…
Reference in New Issue
Block a user