mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-13 00:19:32 -05:00
license: remove check for Azure.ConfidentialVM (#1602)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
7a8c4727f5
commit
58b405d04c
@ -45,19 +45,10 @@ func (c *Checker) CheckLicense(ctx context.Context, provider cloudprovider.Provi
|
|||||||
} else {
|
} else {
|
||||||
printer("Constellation license found!\n")
|
printer("Constellation license found!\n")
|
||||||
}
|
}
|
||||||
providerStr := provider.String()
|
|
||||||
if provider == cloudprovider.Azure {
|
|
||||||
if *providerCfg.Azure.ConfidentialVM {
|
|
||||||
providerStr = "azure-cvm"
|
|
||||||
} else {
|
|
||||||
providerStr = "azure-tl"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
quotaResp, err := c.quotaChecker.QuotaCheck(ctx, QuotaCheckRequest{
|
quotaResp, err := c.quotaChecker.QuotaCheck(ctx, QuotaCheckRequest{
|
||||||
License: licenseID,
|
License: licenseID,
|
||||||
Action: Init,
|
Action: Init,
|
||||||
Provider: providerStr,
|
Provider: provider.String(),
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
printer("Unable to contact license server.\n")
|
printer("Unable to contact license server.\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user