Merge pull request 'refs #2376 remove unused "cacheopts"' (#81) from remove-cacheopts into main
ogclient/pipeline/head This commit looks good Details
ogclient/pipeline/tag This commit looks good Details

Reviewed-on: #81
delete-scripts-interfaceAdm 0.22.8
Natalia Serrano 2025-07-03 14:31:01 +02:00
commit 5ed0bbc04b
2 changed files with 7 additions and 2 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.22.8] - 2025-07-03
### Removed
- Remove unused "cacheopts"
## [0.22.7] - 2025-07-03
### Fixed

View File

@ -42,7 +42,6 @@ if len (sys.argv) < 3:
sys.exit (1)
_, repositorio, path, protocolo, *other = sys.argv
optprotocolo = other[0] if len (other) > 0 else ''
cacheopts = other[1] if len (other) > 1 else ''
if 'RSYNC' == protocolo:
raise Exception ('synchronised images are no longer supported')
@ -68,7 +67,7 @@ if protocolo.startswith ('MULTICAST') and re.match (r'^-?\d+$', wait):
MCASTWAIT = int (wait) + 5
# Unidad organizativa.
## (no longer supported)
#print (f'repositorio ({repositorio}) path ({path}) protocolo ({protocolo}) optprotocolo ({optprotocolo}) cacheopts ({cacheopts}) MCASTWAIT ({MCASTWAIT})')
#print (f'repositorio ({repositorio}) path ({path}) protocolo ({protocolo}) optprotocolo ({optprotocolo}) MCASTWAIT ({MCASTWAIT})')
# Si es una ip y es distinta a la del recurso samba cambiamos de REPO.
if StringLib.ogCheckIpAddress (repositorio) or 'REPO' == repositorio: