mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Fix license enablement utility helpers
We know call "from_database" which can implicitly call "from_file" if the database config isn't available.
This commit is contained in:
parent
01eca729b1
commit
3132d4efee
@ -16,7 +16,7 @@ def get_license(show_key=False):
|
||||
place on this Tower instance.
|
||||
"""
|
||||
license_reader = TaskSerializer()
|
||||
return license_reader.from_file(show_key=show_key)
|
||||
return license_reader.from_database(show_key=show_key)
|
||||
|
||||
|
||||
def feature_enabled(name):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user