Skip to content

Commit

Permalink
Address nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffail committed Dec 2, 2024
1 parent 8657b3d commit 288e4a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/license/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion internal/license/shared_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 288e4a3

Please sign in to comment.