mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Fix for Pendo if trial key/value pair is missing
from the config endpoint -> license_info
This commit is contained in:
@@ -13,6 +13,7 @@ export default
|
|||||||
return {
|
return {
|
||||||
setPendoOptions: function (config) {
|
setPendoOptions: function (config) {
|
||||||
var tower_version = config.version.split('-')[0],
|
var tower_version = config.version.split('-')[0],
|
||||||
|
trial = (config.trial) ? config.trial : false,
|
||||||
options = {
|
options = {
|
||||||
visitor: {
|
visitor: {
|
||||||
id: null,
|
id: null,
|
||||||
@@ -24,7 +25,7 @@ export default
|
|||||||
planLevel: config.license_type,
|
planLevel: config.license_type,
|
||||||
planPrice: config.instance_count,
|
planPrice: config.instance_count,
|
||||||
creationDate: config.license_date,
|
creationDate: config.license_date,
|
||||||
trial: config.trial,
|
trial: trial,
|
||||||
tower_version: tower_version,
|
tower_version: tower_version,
|
||||||
ansible_version: config.ansible_version
|
ansible_version: config.ansible_version
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user