add header linter to avoid license header mistakes (#1414)

Co-authored-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Harshavardhana
2022-01-25 10:48:49 -08:00
committed by GitHub
parent 4a10a81374
commit d936d61b20
44 changed files with 182 additions and 56 deletions

View File

@@ -257,7 +257,7 @@ func GetSubnetInfoResponse(session *models.Principal, client cluster.HTTPClientI
}
licenseInfo, err := subnet.ParseLicense(client, subnetTokens.License)
if err != nil {
fmt.Println(err)
return nil, prepareError(err)
}
license := &models.License{
Email: licenseInfo.Email,