From fa33d5d5976d542ea92a293ca2d76d799775ac7c Mon Sep 17 00:00:00 2001 From: Bradley Laney Date: Tue, 19 Nov 2024 16:57:48 -0500 Subject: [PATCH] lint --- master/internal/license/license.go | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/master/internal/license/license.go b/master/internal/license/license.go index e6c9bbde450..9008447c5df 100644 --- a/master/internal/license/license.go +++ b/master/internal/license/license.go @@ -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" @@ -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 {