Skip to content

Commit 1237d67

Browse files
committed
bitcoin: remove debug_log
1 parent a5cb478 commit 1237d67

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/warnet/bitcoin.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
kexec,
2323
pod_log,
2424
)
25-
from .process import run_command
2625

2726

2827
@click.group(name="bitcoin")
@@ -82,19 +81,6 @@ def _rpc(tank: str, method: str, params: tuple[str, ...]) -> str:
8281
return stdout + stderr
8382

8483

85-
@bitcoin.command()
86-
@click.argument("tank", type=str, required=True)
87-
def debug_log(tank: str):
88-
"""
89-
Fetch the Bitcoin Core debug log from <tank pod name>
90-
"""
91-
cmd = f"warnet logs {tank}"
92-
try:
93-
print(run_command(cmd))
94-
except Exception as e:
95-
print(f"{e}")
96-
97-
9884
@bitcoin.command()
9985
@click.argument("pattern", type=str, required=True)
10086
@click.option("--show-k8s-timestamps", is_flag=True, default=False, show_default=True)

0 commit comments

Comments
 (0)