Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit d437107

Browse files
author
Yohann Leon
committed
Fix storage condition in create_device
1 parent 60431f7 commit d437107

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packet/Manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def create_device(
142142

143143
if hardware_reservation_id != "":
144144
params["hardware_reservation_id"] = hardware_reservation_id
145-
if storage != "":
145+
if storage:
146146
params["storage"] = storage
147147
if ipxe_script_url != "":
148148
params["always_pxe"] = always_pxe

0 commit comments

Comments
 (0)