Skip to content

Commit 393689f

Browse files
authored
Update verda/instances/_instances.py
1 parent aab47aa commit 393689f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

verda/instances/_instances.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ def create(
171171
'description': description,
172172
'location_code': location,
173173
'os_volume': os_volume,
174-
'volumes': volumes if volumes is not None else [],
175-
'existing_volumes': existing_volumes if existing_volumes is not None else [],
174+
'volumes': volumes or [],
175+
'existing_volumes': existing_volumes or [],
176176
'is_spot': is_spot,
177177
'coupon': coupon,
178178
}

0 commit comments

Comments
 (0)