This repository was archived by the owner on Apr 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11# 1.0.0
2- - Upgrade pydantic version to v2
2+ - Upgrade pydantic version to v2
3+
4+ # 1.0.2
5+ - Translate zone_name from the frontend to zone_id by using the _ get_zone_id method when initializing the input
6+ - Correction of mount_parameters retyping
Original file line number Diff line number Diff line change @@ -644,10 +644,10 @@ def _get_zone_id(zone_name: str) -> str | None:
644644 def execute (self , worker_input : WorkerInput ) -> TaskResult [WorkerOutput ]:
645645
646646 self .add_device .input .name = worker_input .device_name
647- self .add_device .input .zone_id = worker_input .zone_id
647+ self .add_device .input .zone_id = self . _get_zone_id ( worker_input .zone_id )
648648 self .add_device .input .service_state = worker_input .service_state
649649 self .add_device .input .device_size = worker_input .device_size
650- self .add_device .input .mount_parameters = str (worker_input .mount_parameters ).replace ("'" , '\\ "' )
650+ self .add_device .input .mount_parameters = str (worker_input .mount_parameters ).replace ("'" , '\" ' )
651651
652652 if worker_input .label_ids :
653653 self .add_device .input .label_ids = worker_input .label_ids
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ packages = [{ include = "frinx_worker" }]
1919name = " frinx-inventory-worker"
2020description = " Conductor worker for Frinx Device Inventory"
2121authors = [
" Jozef Volak <[email protected] >" ]
22- version = " 1.0.1 "
22+ version = " 1.0.2 "
2323readme = [" README.md" , " CHANGELOG.md" , " RELEASE.md" ]
2424keywords = [" frinx-machine" , " device inventory" , " worker" ]
2525license = " Apache 2.0"
You can’t perform that action at this time.
0 commit comments