renamed
This commit is contained in:
@@ -9,7 +9,7 @@ from restic.console import console, logger
|
||||
from restic.loki import send_to_loki
|
||||
|
||||
|
||||
def run(loki_url: str = None):
|
||||
def snapshot(loki_url: str = None):
|
||||
cmd = ['restic', 'snapshots', '--json']
|
||||
|
||||
with console.status('Getting snapshots...'):
|
||||
@@ -31,7 +31,7 @@ def main(loki_url: str = None):
|
||||
level='DEBUG', format='%(message)s', handlers=[RichHandler(markup=True, console=console)]
|
||||
)
|
||||
|
||||
run(loki_url)
|
||||
snapshot(loki_url)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user