Skip to content

Commit

Permalink
fix: lshw2meta on speed string for disks
Browse files Browse the repository at this point in the history
Closes: #557
Change-Id: I52dd43917e4386375564684bedc4b9711fcaa579
  • Loading branch information
grafuls committed Dec 12, 2024
1 parent 98a8ce0 commit e6fcc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quads/server/blueprints/disks.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def create_disks(hostname: str) -> Response:
}
return make_response(jsonify(response), 400)

if size_gb <= 0:
if int(size_gb) <= 0:
response = {
"status_code": 400,
"error": "Bad Request",
Expand Down

0 comments on commit e6fcc94

Please sign in to comment.