oh right this was supposed to be http
This commit is contained in:
parent
1ca5aa2e97
commit
adaa020029
14 changed files with 1187 additions and 1040 deletions
|
|
@ -69,14 +69,12 @@ def get_config_file() -> dict[str, Any]:
|
|||
@beartype
|
||||
def dynix_append_daemon(option: str, value: Any):
|
||||
payload = json.dumps(dict(
|
||||
action="append",
|
||||
args=dict(
|
||||
name=option,
|
||||
value=value,
|
||||
),
|
||||
name=option,
|
||||
value=value,
|
||||
))
|
||||
|
||||
machine.succeed(f"echo '{payload}' | {testing_client} /run/user/0/dynix.sock")
|
||||
status = machine.succeed(f"echo '{payload}' | curl -v localhost:42420/set --json @- 2>&1")
|
||||
machine.log(f"daemon replied with status {status}")
|
||||
|
||||
@beartype
|
||||
def dynix_append_cli(option: str, value: Any):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue