mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-12 16:09:39 -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 {
|
||||
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{
|
||||
License: licenseID,
|
||||
Action: Init,
|
||||
Provider: providerStr,
|
||||
Provider: provider.String(),
|
||||
})
|
||||
if err != nil {
|
||||
printer("Unable to contact license server.\n")
|
||||
|
Loading…
Reference in New Issue
Block a user