clan-cli: Revert generating facts in clan facts list, for consistency
This commit is contained in:
@@ -5,7 +5,6 @@ import logging
|
||||
from typing import Any
|
||||
|
||||
from clan_cli.completions import add_dynamic_completer, complete_machines
|
||||
from clan_cli.facts.generate import generate_facts
|
||||
from clan_cli.machines.machines import Machine
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
@@ -14,7 +13,6 @@ log = logging.getLogger(__name__)
|
||||
# TODO get also secret facts
|
||||
def get_all_facts(machine: Machine) -> dict:
|
||||
public_facts_store = get_public_facts_store(machine)
|
||||
generate_facts([machine])
|
||||
|
||||
return public_facts_store.get_all()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user