mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 11:25:08 +00:00
fix(vaults): look tables up by the name the vault stores
get_services() normalised table names through Services.get_tag() and then handed the result back as an identifier, so kv copy and sync skipped any table whose name differed in case or matched an alias. Yield stored names, and resolve tables case-insensitively.
This commit is contained in:
@@ -43,7 +43,12 @@ class Vault(metaclass=ABCMeta):
|
||||
|
||||
@abstractmethod
|
||||
def get_services(self) -> Iterator[str]:
|
||||
"""Get a list of Service Tags from Vault."""
|
||||
"""
|
||||
Get a list of Service Tags from Vault.
|
||||
|
||||
Tags come back exactly as the Vault stores them, so passing one to
|
||||
get_key/get_keys/add_key/add_keys reaches the namespace it came from.
|
||||
"""
|
||||
|
||||
|
||||
__all__ = ("Vault",)
|
||||
|
||||
Reference in New Issue
Block a user