We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0f1566 commit 80d62e8Copy full SHA for 80d62e8
descope/client/client.go
@@ -93,10 +93,10 @@ func NewWithConfig(config *Config) (*DescopeClient, error) {
93
if config.ManagementKey != "" {
94
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
95
defer cancel()
96
- if license, err := mgmtClient.FetchLicense(ctx); err != nil {
+ if licenseType, err := mgmtClient.FetchLicense(ctx); err != nil {
97
logger.LogInfo("License handshake failed, continuing without header: %v", err)
98
} else {
99
- mgmtClient.SetLicenseType(license)
+ mgmtClient.SetLicenseType(licenseType)
100
}
101
102
0 commit comments