pkgs/clan: Fix typos
This commit is contained in:
@@ -55,7 +55,7 @@ def split_selector(selector: str) -> list[Selector]:
|
|||||||
@dataclass
|
@dataclass
|
||||||
class FlakeCacheEntry:
|
class FlakeCacheEntry:
|
||||||
"""
|
"""
|
||||||
a recrusive structure to store the cache, with a value and a selector
|
a recursive structure to store the cache, with a value and a selector
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
|||||||
@@ -243,7 +243,7 @@ def calc_patches(
|
|||||||
msg = f"Type mismatch for key '{update_key}'. Cannot update {type(all_values_flat.get(update_key))} with {type(update_data)}"
|
msg = f"Type mismatch for key '{update_key}'. Cannot update {type(all_values_flat.get(update_key))} with {type(update_data)}"
|
||||||
raise ClanError(msg)
|
raise ClanError(msg)
|
||||||
|
|
||||||
# Handle list seperation
|
# Handle list separation
|
||||||
if isinstance(update_data, list):
|
if isinstance(update_data, list):
|
||||||
duplicates = find_duplicates(update_data)
|
duplicates = find_duplicates(update_data)
|
||||||
if duplicates:
|
if duplicates:
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ def test_vm_deployment(
|
|||||||
vm2 = stack.enter_context(spawn_vm(vm2_config, stdin=subprocess.DEVNULL))
|
vm2 = stack.enter_context(spawn_vm(vm2_config, stdin=subprocess.DEVNULL))
|
||||||
qga_m1 = stack.enter_context(vm1.qga_connect())
|
qga_m1 = stack.enter_context(vm1.qga_connect())
|
||||||
qga_m2 = stack.enter_context(vm2.qga_connect())
|
qga_m2 = stack.enter_context(vm2.qga_connect())
|
||||||
# run these always succesfull commands to make sure all vms have started before continuing
|
# run these always successful commands to make sure all vms have started before continuing
|
||||||
qga_m1.run(["echo"])
|
qga_m1.run(["echo"])
|
||||||
qga_m2.run(["echo"])
|
qga_m2.run(["echo"])
|
||||||
# check my_secret is deployed
|
# check my_secret is deployed
|
||||||
|
|||||||
Reference in New Issue
Block a user