Skip to content

Commit

Permalink
Merge pull request #22 from truenas/fix-hashes-generation
Browse files Browse the repository at this point in the history
NAS-129698 / 24.10 / Fix updating hashes in app metadata
  • Loading branch information
sonicaj authored Jun 24, 2024
2 parents 2096026 + 615a800 commit e65ffe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog_reader/scripts/apps_hashes.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def update_catalog_hashes(catalog_path: str) -> None:

app_config['lib_version_hash'] = hashes[lib_version]
with open(str(app_metadata_file), 'w') as f:
yaml.safe_dump(app_config)
f.write(yaml.safe_dump(app_config))

print(f'[\033[92mOK\x1B[0m]\tUpdated library hash for {app_dir.name!r} in {train_dir.name}')

Expand Down

0 comments on commit e65ffe2

Please sign in to comment.