mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
imagefetcher: allow any marketplace image for OpenStack
This commit is contained in:
parent
56460f0d63
commit
7f262d18a8
@ -111,7 +111,7 @@ func buildMarketplaceImage(payload marketplaceImagePayload) (string, error) {
|
|||||||
return "", fmt.Errorf("parsing image version: %w", err)
|
return "", fmt.Errorf("parsing image version: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if sv.Prerelease() != "" {
|
if sv.Prerelease() != "" && payload.provider != cloudprovider.OpenStack {
|
||||||
return "", fmt.Errorf("marketplace images are not supported for prerelease versions")
|
return "", fmt.Errorf("marketplace images are not supported for prerelease versions")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user