Skip to content

Commit

Permalink
Fixed autoclean-sftp function (#281)
Browse files Browse the repository at this point in the history
* Added @click.pass_context before autoclean_sftp function

* Updated CHANGELOG.md

* removed tatus file
  • Loading branch information
jaimeozaez authored Jun 10, 2024
1 parent f67600e commit 5af33bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Code contributions to the new version:

- Fixed archive module. Updated correct header for scout tsv [#258](https://github.com/BU-ISCIII/buisciii-tools/pull/258).
- Fixed clean module. Corrected purge_files function. Renaming stage moved from clean to rename_nocopy option. Updated services.json file with correct paths for some services. [#280](https://github.com/BU-ISCIII/buisciii-tools/pull/280)
- Fixed autoclean-sftp function. [#281](https://github.com/BU-ISCIII/buisciii-tools/pull/281)

#### Changed

Expand Down
1 change: 1 addition & 0 deletions bu_isciii/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ def archive(
default=14,
help="Integer, remove files older than a window of `-d [int]` days. Default 14 days.",
)
@click.pass_context
def autoclean_sftp(ctx, sftp_folder, days):
"""Clean old sftp services"""
sftp_clean = bu_isciii.autoclean_sftp.AutoremoveSftpService(
Expand Down

0 comments on commit 5af33bb

Please sign in to comment.