mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02: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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user