Licensing: Send the app url to plugin (#64258)
This commit is contained in:
@@ -322,6 +322,7 @@ type FakeLicensingService struct {
|
||||
LicenseEdition string
|
||||
TokenRaw string
|
||||
LicensePath string
|
||||
LicenseAppURL string
|
||||
}
|
||||
|
||||
func NewFakeLicensingService() *FakeLicensingService {
|
||||
@@ -336,6 +337,10 @@ func (s *FakeLicensingService) Path() string {
|
||||
return s.LicensePath
|
||||
}
|
||||
|
||||
func (s *FakeLicensingService) AppURL() string {
|
||||
return s.LicenseAppURL
|
||||
}
|
||||
|
||||
func (s *FakeLicensingService) Environment() []string {
|
||||
return []string{fmt.Sprintf("GF_ENTERPRISE_LICENSE_TEXT=%s", s.TokenRaw)}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user