From 288e4a33dc00b6fde2b47df9d3cb3705c8eeb4db Mon Sep 17 00:00:00 2001 From: Ashley Jeffs Date: Mon, 2 Dec 2024 10:41:20 +0000 Subject: [PATCH] Address nits --- internal/license/service.go | 4 ++-- internal/license/shared_service.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/license/service.go b/internal/license/service.go index 8e4c3c683f..e2bd523e9a 100644 --- a/internal/license/service.go +++ b/internal/license/service.go @@ -157,9 +157,9 @@ func (s *Service) readLicense() (licenseFileContents []byte, err error) { return nil, fmt.Errorf("failed to read default path license file: %w", err) } return nil, nil - } else { - s.logger.Debug("Loaded Redpanda Enterprise license from default file path") } + + s.logger.Debug("Loaded Redpanda Enterprise license from default file path") return } diff --git a/internal/license/shared_service.go b/internal/license/shared_service.go index bdb25f7679..3349fdaf7f 100644 --- a/internal/license/shared_service.go +++ b/internal/license/shared_service.go @@ -40,7 +40,7 @@ func CheckRunningEnterprise(res *service.Resources) error { return err } if !l.AllowsEnterpriseFeatures() { - return errors.New("this feature requires a valid enterprise license https://docs.redpanda.com/current/get-started/licenses/") + return errors.New("this feature requires a valid Redpanda Enterprise Edition license from https://redpanda.com/try-enterprise?origin=rpcn. For more information check out: https://docs.redpanda.com/current/get-started/licenses/") } return nil }