hobo_deploy: call import_template command (not import-template (#31908)
This commit is contained in:
parent
0dfe3a1733
commit
2f9e3eab75
|
@ -191,5 +191,5 @@ class Command(BaseCommand):
|
|||
def configure_template(self, hobo_environment, tenant):
|
||||
me = [x for x in hobo_environment.get('services') if x.get('this') is True][0]
|
||||
|
||||
if 'import-template' in get_commands() and me.get('template_name'):
|
||||
call_command('import-template', me['template_name'])
|
||||
if 'import_template' in get_commands() and me.get('template_name'):
|
||||
call_command('import_template', me['template_name'])
|
||||
|
|
Loading…
Reference in New Issue