Remove the last k8s import on restapi (#877)

* Remove the last k8s import on restapi

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2021-07-19 17:17:56 -07:00
committed by GitHub
parent 2a6a6cab24
commit ff7c305345
35 changed files with 289 additions and 313 deletions

View File

@@ -72,7 +72,7 @@ func getSubscriptionInfoResponse() (*models.License, *models.Error) {
// validate license key and obtain license info
licenseInfo, _, err := subscriptionValidate(client, licenseKey, "", "")
if err != nil {
return nil, PrepareError(errLicenseNotFound, nil, err)
return nil, prepareError(errLicenseNotFound, nil, err)
}
return licenseInfo, nil
}