shared: Add openSUSE
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This commit is contained in:
parent
164decd43f
commit
addeb7bc3e
@ -240,6 +240,7 @@ func (d *Definition) Validate() error {
|
|||||||
"sabayon-http",
|
"sabayon-http",
|
||||||
"docker-http",
|
"docker-http",
|
||||||
"oraclelinux-http",
|
"oraclelinux-http",
|
||||||
|
"opensuse-http",
|
||||||
}
|
}
|
||||||
if !shared.StringInSlice(strings.TrimSpace(d.Source.Downloader), validDownloaders) {
|
if !shared.StringInSlice(strings.TrimSpace(d.Source.Downloader), validDownloaders) {
|
||||||
return fmt.Errorf("source.downloader must be one of %v", validDownloaders)
|
return fmt.Errorf("source.downloader must be one of %v", validDownloaders)
|
||||||
|
Loading…
Reference in New Issue
Block a user