use consistent name for releaseChannels config file

This commit is contained in:
Hans-Christoph Steiner 2023-05-31 22:48:30 +02:00 committed by Michael Pöhn
parent 04aa9d2a06
commit 190a95ab17

View file

@ -678,9 +678,9 @@ def v2_repo(repodict, repodir, archive):
if categories:
repo["categories"] = categories
channels = common.load_localized_config("channels", repodir)
if channels:
repo["releaseChannels"] = channels
releaseChannels = common.load_localized_config("releaseChannels", repodir)
if releaseChannels:
repo["releaseChannels"] = releaseChannels
return repo