Skip to content

Commit 25149bf

Browse files
committed
Remove redundant function
1 parent a414a48 commit 25149bf

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

node_cli/cli/sync_node.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import click
2121

22-
from node_cli.core.node import init_sync, resize_filesystem, update_sync
22+
from node_cli.core.node import init_sync, update_sync
2323
from node_cli.utils.helper import abort_if_false, safe_load_texts, streamed_cmd
2424

2525

@@ -51,9 +51,3 @@ def _init_sync(env_file):
5151
@streamed_cmd
5252
def _update_sync(env_file):
5353
update_sync(env_file)
54-
55-
56-
@sync_node.command(help='Update sync node from .env file')
57-
@click.argument('block_device')
58-
def extend_fs(block_device):
59-
resize_filesystem(block_device)

node_cli/core/node.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
init_sync_op,
5959
update_sync_op
6060
)
61-
from node_cli.operations.volume import ensure_btrfs_for_all_space
6261
from node_cli.utils.print_formatters import (
6362
print_failed_requirements_checks, print_node_cmd_error, print_node_info
6463
)
@@ -458,9 +457,3 @@ def configure_firewall_rules() -> None:
458457
print('Configuring firewall ...')
459458
configure_iptables()
460459
print('Done')
461-
462-
463-
def resize_filesystem(block_device: str) -> None:
464-
print('Resizing fs')
465-
ensure_btrfs_for_all_space(block_device)
466-
print('Done')

0 commit comments

Comments
 (0)