Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stoksc committed Nov 19, 2024
1 parent da2b434 commit fa33d5d
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions master/internal/license/license.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package license

import (
"github.com/golang-jwt/jwt/v4"
)

const (
licenseRequiredMsg = "An enterprise license is required to use this feature"
errCheckingLicense = "error when validating license"
Expand All @@ -15,17 +11,8 @@ var licenseKey string
// publicKey stores the public key used to verify licenses. Defaults to empty.
var publicKey string

// decodedLicense contains the body of a decoded licenseKey.
type decodedLicense struct {
jwt.RegisteredClaims

LicenseVersion string `json:"licenseVersion"`
}

// RequireLicense is a no-op.
func RequireLicense(resource string) {
return
}
func RequireLicense(resource string) {}

// IsEE returns true if a license is detected.
func IsEE() bool {
Expand Down

0 comments on commit fa33d5d

Please sign in to comment.