mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-22 15:00:38 -04:00
license: remove check for Azure.ConfidentialVM (#1603)
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
958470ab67
commit
feae9e915c
1 changed files with 1 additions and 10 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue